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

Reset field on location selected #4

Open
prevostc opened this issue Aug 6, 2018 · 2 comments
Open

Reset field on location selected #4

prevostc opened this issue Aug 6, 2018 · 2 comments
Labels
enhancement New feature or request

Comments

@prevostc
Copy link
Contributor

prevostc commented Aug 6, 2018

In my project, I need to select multiple locations and reset the field when a location is selected.
I forked and called autocomplete.setVal("") manually on change, but this is not ideal.
Is there another way?

@csauvage
Copy link
Owner

csauvage commented Aug 8, 2018

Can you precise your use case ? Maybe a gif ? I don't see want u want to perform.

@prevostc
Copy link
Contributor Author

prevostc commented Aug 9, 2018

I want to let the user select multiple places.
He selects begins typing something, say "paris", clicks "Paris 10ème arrondissement", the input field value get changed for "Paris 10ème arrondissement".
I would like the input field to be empty after "Paris 10ème arrondissement" is selected, so that my users can type in something else again

@csauvage csauvage added the enhancement New feature or request label Mar 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants