#google #placesapi #autocompletesuggestions #materialui #reactjs #typescript
Hey guys, just a small video on how to use use-places-autocomplete (github.com/wel...) library to fetch places on user input in Autocomplete component from Material UI. The library does all the heavy lifting for you handling the place predictions of Google Places API.
Make sure to generate an API key first: developers.goo...
If you don't have google could project, then you can follow the steps here.
developers.goo...
I also forgot to mention that you can pas freeSolo prop to Autocomplete to remove the default No Options dropdown when there's no input given.
Happy Coding!
16 сен 2024