Ticket #5490 (closed bug: fixed)

Opened 4 years ago

Last modified 4 years ago

Autocomplete: Change event doesn't provide selected item

Reported by: joern.zaefferer Owned by:
Priority: blocker Milestone: 1.8.1
Component: ui.autocomplete Version: 1.8
Keywords: Cc:
Blocking: Blocked by:

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

comment:1 Changed 4 years ago by joern.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 4 years ago by joern.zaefferer

  • Status changed from new to closed
  • Resolution set to fixed

comment:3 Changed 4 years ago by rdworth

  • Milestone changed from 1.9 to 1.8.1
Note: See TracTickets for help on using tickets.