React places autocomplete have a searchOption prop inside that we can give types array there we can specify whether we want cities, address, regions locality. Now what I need is to set the types array so i can only get countries as the autocomplete result
Types option accept address, (cities), (regions) but i can't find a way for country. https://github.com/hibiken/react-places-autocomplete
I am getting all the info from maps docs but no help. https://developers.google.com/maps/documentation/places/web-service/supported_types
I have tried some solutions but not working. My first time question so i am sorry if i am not asking a good question
