Opened 6 years ago

Last modified 6 years ago

#9805 open bug

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:

Description

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.

Change History (1)

comment:1 Changed 6 years ago by tj.vantoll

Status: newopen
Summary: jquery ui datepicker Keyboard ENTER not closed when input has valueDatepicker: With onSelect & value, Enter no longer closes the picker
Note: See TracTickets for help on using tickets.