Ticket #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: | ||
| Blocking: | Blocked by: |
Description
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
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Repost this to the UI Bug Tracker.