react-google-autocomplete icon indicating copy to clipboard operation
react-google-autocomplete copied to clipboard

React components for google places API.

Results 64 react-google-autocomplete issues
Sort by recently updated
recently updated
newest added

While using the package, it works well on local machine but when deployed online, it returns google is not defined and app refuses to load. I am using the useGoogle...

Hi, I have **two** files that use the `usePlacesService` hook, I use the same options on both: ``` const { placesService, placePredictions, getPlacePredictions } = usePlacesService({ apiKey: getMapsAPIKey(), options: {...

When the component is rendered conditionally, it will create a new input element every time it renders again. However, the ref prop is only reassigned if it is empty and...

The language can not be changed dynamically. I realize this is because of a limitation in the Google Places Lib and the fact that the language is a parameter of...

If the `` component rerenders, the onPlaceSelected is not updated reaxtively. This is important in many cases where you have a callback that relies on some state. This is because...

Need to show suggestion after 3 characters. Currently shows suggestion after typing a single character. ![image](https://user-images.githubusercontent.com/80678500/176858748-f9345806-f7d5-4b07-bc37-a5eb5cb896b7.png) - I am not able to find an atttrbute to provide minlength - Also...

I am using react autocomplete with session tokens and I had to use a useeffect on the main page load to add a session token because by default is comes...

Hi. Here is a list of changes we are going to make eventually. Feel free to comment on anything you have in your mind. 1. ~~Passing a config object as...

enhancement

This is the code I'm using to configure usePlacesAutocompleteService ``` const { placePredictions, getPlacePredictions, isPlacePredictionsLoading, } = useGoogle({ apiKey: API_KEY, language: "en", debounce: 500, options: { types: [], componentRestrictions: {...

enhancement

Thanks a lot, great project ```javascript { console.log(place); }} options={{ types: ["(regions)"], componentRestrictions: { country: "us" }, }} defaultValue="Amsterdam" />; ``` Modified country parameters ```javascript { console.log(place); }} options={{ types:...