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

Additional event on select #109

Open
pySilver opened this issue May 17, 2022 · 3 comments
Open

Additional event on select #109

pySilver opened this issue May 17, 2022 · 3 comments

Comments

@pySilver
Copy link

Hey!

That would be nice to have an event when select occurs, so one can dynamically update input value. That would allow to follow the same logic as Google and others use when suggestions are works as query prefix rather than final query.

@afcapel
Copy link
Owner

afcapel commented May 17, 2022

@pySilver autocomplete.change already fires when the user selects a value. You can indeed use it to update other fields in the form.

@afcapel afcapel closed this as completed May 17, 2022
@pySilver
Copy link
Author

@afcapel it fires when selection is committed. I've meant an event that would be fired while user perform arrow navigation (when select method is called)

@afcapel
Copy link
Owner

afcapel commented May 17, 2022

Oh, I see, feel free to send a PR if you need the event 👍

@afcapel afcapel reopened this May 17, 2022
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