Opened 7 years ago

Closed 7 years ago

Last modified 7 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:

Description

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 7 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 7 years ago by Jörn Zaefferer

Resolution: fixed
Status: newclosed

comment:3 Changed 7 years ago by rdworth

Milestone: 1.91.8.1
Note: See TracTickets for help on using tickets.