Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#8552 closed bug (fixed)

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.

Change History (3)

comment:1 Changed 7 years ago by Scott González

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

comment:2 Changed 7 years ago by Scott González

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

comment:3 Changed 7 years ago by Scott González

Milestone: 1.9.0git
Note: See TracTickets for help on using tickets.