[Vuejs]-Why is @googlemaps/js-api-loader's Autocomplete data not passed on to data object with a v-model binding?

3👍

According to the documentation here, Autocomplete adds a text input field to your web page, and monitors that field for character entries. So, whatever the user types into your text input field remains that and the only data passed on to the data object on bind.

Adding a handler for the place_changed event and the formatted_address field in the options is the practical way to go about retrieving the address chosen/added by the user.

Leave a comment