Last Updated: 23 Jan 2020 09:21 by ADMIN
Ján Horník
Created on: 23 Jan 2020 09:20
Category: Date/Time Pickers
Type: Bug Report
Incorrect min option of DateInput

Bug report

When the Kendo UI TimePicker is used as an editor and the dateInput option is set to true, incorrect validation is initiated. By default, the DateInput underlying widget min option is set to today's date. 

Reproduction of the problem

1. Create a TimePicker widget.

2. Set the dateInput option to true.

3. Open the cell for editing.

4. Press enter and see the default value applied.

Dojo sample:


Expected/desired behavior

When the TimePicker min option is set, the DateInput widget should take the min from the options of its owner, rather than taking today's date.


Set the options of the DateInput after the initialization of the widget:

 $(input).getKendoTimePicker()._dateInput.options.min =  new Date(1910, 9, 11);


* **Kendo UI version:** 2020.1.114
* **jQuery version:** 1.12.4
* **Browser:** [all]