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

no-results-found event should also work on blur event #152

Open
abhimanusharma opened this issue Apr 2, 2021 · 0 comments
Open

no-results-found event should also work on blur event #152

abhimanusharma opened this issue Apr 2, 2021 · 0 comments

Comments

@abhimanusharma
Copy link

In some cases I have internal input fields where user might not press enter just blur from the text field or try to submit the form, in that case I want to store the value of that field.

I tried to use blur event and also tried to set v-model for the <vue-google-autocomplete component, but none of this works for me.

<vue-google-autocomplete
    ref="address"
    id="map"
   v-model="address"
    classname="md-input"
    placeholder="Please type your address"
    @placechanged="getAddressData"
    @no-results-found="setStreetAddress"
    @blur="setStreetAddress"
    country="us">
</vue-google-autocomplete>
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

Successfully merging a pull request may close this issue.

1 participant