Opened 12 years ago

Closed 12 years ago

#7360 closed bug (notabug)

Multiple autocomplete fields lose custom suggestions list display

Reported by: scikidus Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.autocomplete Version: 1.8.12
Keywords: Cc:
Blocked by: Blocking:

Description

If autocomplete is called on multiple fields, and the optional custom display code is added (almost verbatim from the demo), then the formatting appears in the first field, but all following fields use the default formatting.

See here: http://jsfiddle.net/faLAr/15/ and hit the down arrow while focused on the different fields. They should all give suggestions in the two line format, yet only the first one does.

Change History (1)

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

Resolution: invalid
Status: newclosed

.data() only returns the instance for the first item, you'll need to do that inside a .each().

Note: See TracTickets for help on using tickets.