Search and Top Navigation
#5490 closed bug (fixed)
Opened April 06, 2010 08:46PM UTC
Closed April 08, 2010 10:29AM UTC
Last modified April 21, 2010 01:17PM UTC
Autocomplete: Change event doesn't provide selected item
Reported by: | jzaefferer | 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.
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.