Skip to main content

Search and Top Navigation

#9805 open bug ()

Opened February 10, 2014 09:34AM UTC

Last modified February 10, 2014 02:00PM UTC

Datepicker: With onSelect & value, Enter no longer closes the picker

Reported by: naruto Owned by:
Priority: minor Milestone: none
Component: ui.datepicker Version: 1.10.4
Keywords: Cc:
Blocked by: Blocking:

background if datepicker has custom onSelect implements (even if method return true)

and input has value, the picker cannot auto closed when press enter key.Test version jquery-ui-1.10.4

For the first time ,if input has no value and calendar popup,then press enter key the selected value update and calendar closed automaticlly.

but if you lost focus and focus,calendar shows again, at this time if you just press enter key the calendar not closed ,this is the problem.

To reproduce this ,you must and just need to declare a custom onSelect function,then directlly press enter key(doesn't to select the date that differ from the input value) when input has value and the calendar is showing.

Attachments (0)
Change History (1)

Changed February 10, 2014 02:00PM UTC by tj.vantoll comment:1

status: newopen
summary: jquery ui datepicker Keyboard ENTER not closed when input has valueDatepicker: With onSelect & value, Enter no longer closes the picker