This is a migrated thread and some comments may be shown as answers.

DatePicker ignores direct input while the calendar is open

1 Answer 10 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
Artie
Top achievements
Rank 1
Artie asked on 26 Jun 2015, 03:06 PM

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‚Äč

1 Answer, 1 is accepted

Sort by
0
Accepted
Kiril Nikolov
Telerik team
answered on 30 Jun 2015, 07:03 AM

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!
 
Tags
Date/Time Pickers
Asked by
Artie
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or