Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-initializing a text field suggestor #5

Open
deathg0d opened this issue Jul 1, 2015 · 1 comment
Open

Re-initializing a text field suggestor #5

deathg0d opened this issue Jul 1, 2015 · 1 comment

Comments

@deathg0d
Copy link

deathg0d commented Jul 1, 2015

Is there a way to update data on an already existing suggestor? Currently re-initializing the suggestor results in duplicate dropdowns.

Scenario: I initialize suggestor on a textarea on DOM load with a list of usernames. Later I want to add more usernames to this list dynamically (a realtime scenario).

@spantaleev
Copy link
Owner

What is your initialization code?

Maybe the problem is that the queries get cached and when you search for something that you've searched for before it gives you the old (cached) data?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants