Search and Top Navigation
#7360 closed bug (notabug)
Opened May 12, 2011 01:26AM UTC
Closed May 12, 2011 01:40AM UTC
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.
Attachments (0)
Change History (1)
Changed May 12, 2011 01:40AM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
.data() only returns the instance for the first item, you'll need to do that inside a .each().