Skip to main content

Search and Top Navigation

#4923 closed bug (worksforme)

Opened October 22, 2009 09:51PM UTC

Closed November 30, 2009 12:12AM UTC

Pressing Return (keyCode 13) overwrites manually inserted input in DatePicker

Reported by: tobias Owned by:
Priority: major Milestone: 1.8
Component: ui.datepicker Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:
Description

This issue was apparently logged and fixed in 1.5.3 (see ticket #4474), so I'm opening a new case for 1.7.2. Several people have confirmed this bug exists in the 1.7 series.

  • click in input field -> DatePicker? shows up
  • enter a date manually with the keyboard; for example: 26/04/1988
  • Hit Return (keyCode 13)

> Result: my input is overwritten with today's date.

Attachments (0)
Change History (2)

Changed November 16, 2009 01:31PM UTC by jzaefferer comment:1

milestone: TBD1.8

Keyhandling must consider the difference between actually selecting a date from the datepicker and just entering a date.

Changed November 30, 2009 12:12AM UTC by kbwood comment:2

resolution: → worksforme
status: newclosed

Unable to duplicate the problem. I note that the date given is not in the default format (mm/dd/yyyy). If the date shown is entered against the default format then it is not recognised as a valid date and so the currently showing date is selected on ENTER. If the date format is changed appropriately ('dd/mm/yy') then the date entered is parsed immediately and is reflected in the datepicker so that it becomes the current date when ENTER is pressed.