Skip to main content

Search and Top Navigation

#10650 closed bug (invalid)

Opened October 07, 2014 12:35PM UTC

Closed October 22, 2014 08:42AM UTC

Datepicker overwrites manually entered dates.

Reported by: sbaechler Owned by: sbaechler
Priority: minor Milestone: none
Component: ui.datepicker Version: 1.11.1
Keywords: Cc:
Blocked by: Blocking:
Description

When I click on a input field which has a datepicker attached to it, the widget opens.

But when I then enter a date with the keyboard and hit enter, the entered date is overwritten by the currently selected date in the datepicker widget.

The widget does not double check if the code in the form field has been altered since the widget was opened. (Line 2111)

From an accessibility standpoint this makes it impossible to enter a date by keyboard on a website where the datepicker widget is automatically opened on focus.

Attachments (0)
Change History (2)

Changed October 07, 2014 01:15PM UTC by tj.vantoll comment:1

owner: → sbaechler
status: newpending

Hi sbaechler,

Thanks for taking the time to contribute to jQuery UI, but I'm actually not seeing this issue: http://jsfiddle.net/tj_vantoll/tRdpr/. When I enter a date with the keyboard and hit enter the appropriate date is used. Can you confirm you're using the latest version of jQuery UI, and if so can you tell me what browsers you're seeing this behavior in?

Changed October 22, 2014 08:42AM UTC by trac-o-bot comment:2

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!