Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#5490 closed bug (fixed)

Autocomplete: Change event doesn't provide selected item

Reported by: Jörn Zaefferer Owned by:
Priority: blocker Milestone: 1.8.1
Component: ui.autocomplete Version: 1.8
Keywords: Cc:
Blocked by: Blocking:


Spec states that the change events provides the selected item as ui.item (probably needs to be updated to make that optional, that is, ui.item can be null if input changed, but nothin was selected).

Blocks #5453.

Change History (3)

comment:1 Changed 13 years ago by Jörn Zaefferer

Spec was fixed, can be implemented now: Store selection state in menu-selected-event, add a blur-event-handler, move the code at the bottom of the close-method to that event handler and use the selection-state when triggering the change-event.

comment:2 Changed 13 years ago by Jörn Zaefferer

Resolution: fixed
Status: newclosed

comment:3 Changed 13 years ago by rdworth

Note: See TracTickets for help on using tickets.