ErrorPro / react-google-autocomplete

React components for google places API.
MIT License
462 stars 114 forks source link

Dynamically set defaultValue using place_id #217

Open Shain-Dholakiya opened 1 year ago

Shain-Dholakiya commented 1 year ago

I know I can have the defaultValue be "United States." I would like to also have it accept the id "ChIJCzYy5IS16lQRQrfeQ5K5Oxw" so I could set the value to an id being passed in by the url.