Opened 4 years ago

Closed 4 years ago

#10650 closed bug (invalid)

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.

Change History (2)

comment:1 Changed 4 years ago by tj.vantoll

Owner: set to 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?

comment:2 Changed 4 years ago by trac-o-bot

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!

Note: See TracTickets for help on using tickets.