Bug Tracker

Modify

Ticket #3581 (closed bug: invalid)

Opened 5 years ago

Last modified 5 years ago

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

comment:1 Changed 5 years ago by flesler

  • Status changed from new to closed
  • Resolution set to invalid

Repost this to the  UI Bug Tracker.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.