hebrerillo
Active Coder
I am creating an autocomplete address input element via google.maps.places.PlaceAutocompleteElement, to let users autocomplete addresses.
The thing is that users have previously saved their address in our database, so I need to set the PlaceAutocompleteElement input an initial address value, but it seems it is impossible.
I have read the documentation about the different options that can be passed, but found nothing to set an initial value to the input.
How can I set an initial value to the input element created with google.maps.places.PlaceAutocompleteElement??
Thank you so much!
The thing is that users have previously saved their address in our database, so I need to set the PlaceAutocompleteElement input an initial address value, but it seems it is impossible.
I have read the documentation about the different options that can be passed, but found nothing to set an initial value to the input.
How can I set an initial value to the input element created with google.maps.places.PlaceAutocompleteElement??
Thank you so much!