Datepicker: Handle for invalid values in value() and valueAsDate()