Opened 8 years ago

Last modified 8 years ago

#10537 open bug

Datepicker: onSelect called twice when date selected with enter key

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


The onSelect function is called twice in the following cases:

  • When no date was previously selected, and a date is selected with the enter key
  • When a date was previously selected, and a new date is selected by moving onto it keyboard interaction and pressing the enter key

If the date is selected by clicking on it with the mouse, onSelect is only called once in all these cases.

Example to demonstrate with alerts:

Change History (1)

comment:1 Changed 8 years ago by tj.vantoll

Status: newopen

Confirmed. I verified this is no longer an issue in the rewrite:

Note: See TracTickets for help on using tickets.