We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Docs say:
<AutoComplete apiKey={YOUR_GOOGLE_MAPS_API_KEY} onPlaceSelected={(place) => console.log(place)} /> or const { ref } = usePlacesWidget({ apiKey: YOUR_GOOGLE_MAPS_API_KEY, onPlaceSelected: (place) => console.log(place) }) <AnyInput ref={ref} />
Using
const {ref} = usePlacesWidget({ apiKey: YOUR_GOOGLE_MAPS_API_KEY, onPlaceSelected: (place) => { console.log(place); }, }); <Input ref={ref} />
the search doesn't even get performed
The text was updated successfully, but these errors were encountered:
Did you ever find a fix? It works if you put <script async src={https://maps.googleapis.com/maps/api/js?key=${process.env.REACT_APP_GOOGLE}&libraries=places&callback=Function.prototype`}/>` in the head but the docs suggest you no longer need to do that.
<script async src={
Sorry, something went wrong.
No branches or pull requests
Docs say:
Using
the search doesn't even get performed
The text was updated successfully, but these errors were encountered: