My name's Wilda and I'm a recent bootcamp graduate. I've created this channel to share helpful tutorials on implementing libraries using Javascript and React for others interested in coding. I know first hand the struggles of learning a new library so I want to contribute back to the community. I'm open to connecting and answering any questions, feel free to reach out on social media!
Hey! I followed along but when clicked on the suggestion it doesn’t update my input field. Can you please tell me why? I’ve done some research but still didn’t get it working. Thank you.
Hi all. I'll give you an additional example, hope its gonna help someone My task is to create autoComplete wich returns addresses of USA and Canada I just added additional optional attribute into PlacesAutocomplete -> "searchOptions={{ types: ["(cities)"], componentRestrictions: { country: ["us", "ca"] } }}"
Thanks for the video. My app is working fine on the local server but after deploying on heroku it only shows the loading string and no suggestions. I have not included any restriction for my api key. Can you please tell me why it might not be working ?
Thanks, I have implemented and everything is ok except when I click with the input empty because an error is triggered with legend ZERO_RESULTS or INVALID_REQUESTS and I can't catch that problem to avoid the app brearks
Yes, it's possible. In the react places autocomplete component there is a prop called searchOptions where you can pass the location's latitude and longitude and radius if you want to restrict the search field.
could you please please guide how to implement an autocomplete on google maps .however in my code i am getting users current Location and i am displaying the location on map as well also i am getting dynamic address from Google Api. Now i want to implement Autocomplete when i try to import Google react autocomplete it's giving error message like Autocomplete is undefined