Google address - suggested addresses

Good Day,

How do you configure a field to suggest google places addresses for selection. I am building in a customer form and have managed to setup an API query to retrieve google places api data. I however would like this to auto complete in a text field or at least display address options. Thanks!

@Kwebo

Hey there :wave:

Could you filter the google api data to suggest what you would like the user to see?

How would one do this?

It looks like Places actually has a useful autocomplete API that might be useful here! (docs)

How would you like for the suggestions to be displayed? The attached example uses a listview to demonstrate what might be possible but there may be other ways to configure it.
places_autocomplete (2).json

2 Likes

It'd be nice if Retool can have an address input component, similar to phone input component, that can validate and parse out the text to address line, city, zip, etc.

1 Like

Hi @Wei_Chen, I went ahead and created an internal feature request for the 'Address Input Component.' We'll update you here with any news. Thank you for your feedback! :slightly_smiling_face:

2 Likes