Add datepicker.onSelect handler to set dateInput value sooner.