Skip to main content

Search and Top Navigation

#6709 closed bug (fixed)

Opened December 01, 2010 04:19PM UTC

Closed December 01, 2010 04:52PM UTC

Last modified December 08, 2010 06:39PM UTC

Autocomplete: Null ui.item on change event in IE8

Reported by: Sachemo7 Owned by:
Priority: minor Milestone: 1.8.7
Component: ui.autocomplete Version: 1.8.6
Keywords: Cc:
Blocked by: Blocking:
Description

The change event does not work as expected in IE8 using the following test case. The change event works as expected in Chrome.

http://jsbin.com/eyeva3

Select an item using the mouse. Then make the autocomplete lose focus. An alert will show that ui.item is null when it should be the selected item.

If you repeat these steps but instead select an item using the "enter" key, the alert will show that ui.item is set to the selected item.

This seems to be a bug left over from Ticket #5775 when the change event wouldn't fire in IE8 when an item was selected using the mouse.

Attachments (0)
Change History (4)

Changed December 01, 2010 04:52PM UTC by scottgonzalez comment:1

status: newopen
summary: Null ui.item on Autocomplete Change Event in IE8Autocomplete: Null ui.item on change event in IE8

Changed December 01, 2010 04:52PM UTC by Scott González comment:2

resolution: → fixed
status: openclosed

Autocomplete: Update selectedItem in the asynchronous focus handling for IE. Fixes #6709 - Autocomplete: Null ui.item on change event in IE8.

Changeset: eac910f3157af42c7fcd2230aaff8508974ecc9a

Changed December 01, 2010 04:53PM UTC by scottgonzalez comment:3

This actually fixed a failing unit test that I had been meaning to look into :-)

Changed December 08, 2010 06:39PM UTC by scottgonzalez comment:4

milestone: 1.91.8.7