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

Subsequence emits Placechanged and InputChange #198

Open
upsmod opened this issue Aug 19, 2023 · 0 comments
Open

Subsequence emits Placechanged and InputChange #198

upsmod opened this issue Aug 19, 2023 · 0 comments

Comments

@upsmod
Copy link

upsmod commented Aug 19, 2023

https://github.com/olefirenko/vue-google-autocomplete/blob/184a6189a33e4883f08e48ed67b29cefe8e182fa/src/VueGoogleAutocomplete.vue#L185C21-L185C21

Need to change subsequence of emits event
Right now is:

  • .... some events
  • placechanged
  • input change

Right logic is

  • ... someevents
  • input change
  • placechanged

Look at there:
If some body wants to validate input of autocomplete - he wants to have a point to get a value of vuegoogleautocomplete
that can make with @inputChange - to have fixed a valid selected data from autocomplete (not typed) wee need to use placechanged from your Readme.md. But on the moment exec the placechanged event we don't have a valid data input from selected result - because that inputChange was fired after placechanged.
@olefirenko can you some suggest with that?

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

1 participant