Bug Tracker

Opened 14 years ago

Closed 14 years ago

#3581 closed bug (invalid)

Change data after creation in the UI autocomplete?

Reported by: arobinson Owned by: flesler
Priority: major Milestone: 1.3
Component: unfiled Version: 1.2.6
Keywords: Cc:
Blocked by: Blocking:


It does not seem that there is a way to change the data. I tried: $(...).autocomplete('setData', { data: newArray })

And that didn't work. If I flush the cache. it stops working altogether (nothing ever matched again)

There is already an enhancement request to get the data using a function, that would also do what I need.

My use case is to use it to pick from a list, but clear the input on selection. I don't want to show that option any more. (Basically it is the multiple selection but I don't want the full list in the input element)

Change History (1)

comment:1 Changed 14 years ago by flesler

Resolution: invalid
Status: newclosed

Repost this to the UI Bug Tracker.

Note: See TracTickets for help on using tickets.