I am probably using the Google Places API incorrectly as I only just installed it. I can not find a reference for it specifically within Bubble (apart from the general reference for plugins) although I have looked around the Google Places website pages and found some information there
When installed, it is possible to set a Field (belonging to a Thing) as a ‘Google Place’ (instead of text, number, etc.). So I thought it would be interesting to record it as I input various Shops, Cafes, etc.
I have a workflow that creates a new thing (Shop) when a button is pressed. For the ‘Shop Google Place’ field I have referenced the ‘Get data from an external API’ Google Places’ option.
When ‘Get Google Places’ is selected it brings up another 4 options:
Query - not sure how to use this but I assume you use it to tell Google Places what you want returned. I have left it blank.
Location - I’m trying to use the address entered in the input box for this to send to Google Places
Radius - not used here (but I think would be used to send Google Place a distance from a starting location)
Type - not used here (but used to send a type of Place that Google Places returns)
Back in the ‘new Shop’ box, it shows as Shop GOogle Place = Get Google Places’s id (all in red as there is an error). The issue message is ‘Create a new Shop…: value should be a Google Place but right now it is a List of texts’
So it seems that I am not telling it to return just one result, and the result is coming as a text and not a Google Place.
This all relates to point b) in my original email. On a) is it possible to create an auto-complete function?