DateTimePicker Min/Max error

3 posts, 0 answers
  1. Gensys Development
    Gensys Development avatar
    9 posts
    Member since:
    Nov 2012

    Posted 07 Apr 2014 Link to this post

    Hi,

    In the following example i have a kendo datetimepicker with a min and max date.

    When i change the date by typing only (don't use the calendar and time button), and change it to the max day: 16/6/2014
    And then open the time picker, it still shows the min time of 8:15 which is not correct.

    http://jsfiddle.net/NNnJy/
  2. Gensys Development
    Gensys Development avatar
    9 posts
    Member since:
    Nov 2012

    Posted 07 Apr 2014 in reply to Gensys Development Link to this post

    Sorry this is the correct example link:

    http://jsfiddle.net/NNnJy/1/
  3. Kendo UI is VS 2017 Ready
  4. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3706 posts

    Posted 09 Apr 2014 Link to this post

    Hello Jack,

    The DateTimePicker is designed to update the time options on value change, which does not happen when a value is entered manually and the input is still focused. You can accomplish your goal if you set the value manually on time view opening. Here is the updated jsFiddle demo showing how to accomplish this.
    I will log this request for further consideration. If other users require the same functionality then we will schedule it for further investigation.

    Regards,
    Georgi Krustev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top