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

Unable to reset the autocomplete #131

Open
danielsjf opened this issue Nov 4, 2021 · 2 comments
Open

Unable to reset the autocomplete #131

danielsjf opened this issue Nov 4, 2021 · 2 comments

Comments

@danielsjf
Copy link

Describe the bug
I am dynamically updating the autocomplete resolver function from another input field. Unfortunately the enhance function only works the first time. Rerunning it afterwards does not change the resolver. I tried the clear function but it clearly does not do what I want. Is there a way to reset it?

Expected behavior
Have a function like $('.class').autoComplete('reset');

Or just update the autocomplete function on rerunning it.

@isackblue
Copy link

@danielsjf same thing happens here. Did you got any solution?

@danielsjf
Copy link
Author

@isackblue No unfortunately I don't. I half solved it by only loading the resolver when the input value is confirmed. However, when it is changed this fails. I switched for some specific UI flows to another approach.

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