Prevent datepicker input typing.