Closed Kwozzie closed 10 years ago
Thanks Kwozzie, but only one condition is needed: if ($picker.data("closeOnSelected")){
shemz, you are correct, however, this would allow the datepicker to be closed when the timepicker is showing and the user clicks on a date. I would have thought you would still want to force the user to have to click the time when the timepicker is showing?
Thanks :+1:
Close datepicker when closeOnSelected is true, inLine is false and dateOnly is specified. As it is, the DatePicker won't close if a date is selected and the timepicker is hidden.