DatePicker ignores direct input while the calendar is open

2 posts, 1 answers
  1. Artie
    Artie avatar
    29 posts
    Member since:
    May 2015

    Posted 26 Jun 2015 Link to this post

    I've got a sample in the Dojo that illustrates the issue I'm running into.  I originally ran into this because we are opening the calendar when the control receives focus.  At any rate, when the calendar control is open, if you manually punch in a date and hit "Enter", the calendar control closes but the text value is changed to whatever value was selected in the calendar.  In the example below, simply put the focus in the text box, hit "1/31/2015" and hit "Enter".  The calendar will close, but the text value will be changed to today's date (the default in the calendar).  Any thoughts for a workaround?

    http://dojo.telerik.com/eReVa

  2. Answer
    Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2564 posts

    Posted 30 Jun 2015 Link to this post

    Hello Artie,

    This is the expected behavior, as there is no way to distinct whether the user wants to select the date from the calendar or from the input, and therefore we decided to go with the calendar selection, as it is a more common scenario. I am afraid that currently there is no workaround that can be suggested.

    Regards,
    Kiril Nikolov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
Back to Top