Prevent inline datepicker from auto-picking date

For inline datepickers only the code would automatically set the date to the current date, even if defaultDate is set to null. This fixes the behavior.