-
Notifications
You must be signed in to change notification settings - Fork 74
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
In "select" mode, how do I prevent an extra query from being executed when I select an item? #396
Comments
Same here. I don't know why it was designed this way, even in demo. Perhaps add a function to remove input focus right after selection using this.$refs, but I wasn't able to find anything that works. |
Thank you for the report. I can confirm this is a bug :( We will get it fixed right after we got some free time. |
I'm also getting this bug, but I could not trace what was happening. In the meantime, you may downgrade to 1.9.6 in your package.json to avoid it. |
Thanks to the developers of this component! Until this bug not fixed easy way to solve it:
|
Any update on this bug @kaskar2008? |
I'm submitting a ...
What is the current behavior?
When I look at the demo, it looks like when I set it to
select
mode and type in a short word like "Test" and select the suggestion for the word "Test", it performs the search again right after I select an option with the new value as thequery
, and shows a new list of suggestions.Is there any way to prevent that additional search upon selecting a suggestion?
What is the expected behavior?
When I click a suggestion in
select
mode, I'd like it to just accept "Test" as the value I want and not initiate another search. If the selected value returns search results, this can cause the suggestions list to show up right after selecting an option, which is not the behavior I'm expecting.How are you importing Vue-simple-suggest?
Whatever was used to build the demo.
Please tell us about your environment:
Whatever was used to build the demo.
If you require additional info, just let me know and I'll provide it.
Thank you for making this plugin, it looks really useful!
The text was updated successfully, but these errors were encountered: