Skip to main content

Search and Top Navigation

#8552 closed bug (fixed)

Opened September 04, 2012 12:24PM UTC

Closed September 05, 2012 08:07PM UTC

Last modified September 05, 2012 08:08PM UTC

selected value overwritten/not correctly set

Reported by: asxoniles Owned by:
Priority: blocker Milestone: git
Component: ui.autocomplete Version: 1.9.0-rc.1
Keywords: Cc:
Blocked by: Blocking:
Description

using jquery 1.8.0 and jquery-UI 1.9.0 RC1, the demo from

http://jqueryui.com/demos/autocomplete/#custom-data

doesn't return the selected item. The returned value is the first entry of the autocomplete list.

When there is only one entry then the first entry is selected.

The error also occurs with previous versions of jQuery (for example 1.6.1) in combination with jQueryUI 1.9.0 RC1.

The error is not present in jQueryUI 1.8.x and jQuery.

Attachments (0)
Change History (3)

Changed September 04, 2012 12:38PM UTC by scottgonzalez comment:1

priority: minorblocker
status: newopen

This is a change in menu causing focus to occur after a click: https://github.com/jquery/jquery-ui/commit/74a3f2c

Changed September 05, 2012 08:07PM UTC by Scott González comment:2

resolution: → fixed
status: openclosed

Menu: Don't move focus from the active item on click. Fixes #8552 - selected value overwritten/not correctly set.

Changeset: e162fddd9547d07c6ad1badc135a456f4012ad34

Changed September 05, 2012 08:08PM UTC by scottgonzalez comment:3

milestone: 1.9.0git