Skip to content
Advertisement

Google Places Autocomplete Force Selection

I am using the JavaScript Google places autocomplete API v3. It works fine but I was wondering if there was a way to force the selection from the autocomplete, that is input that will not accept any free form text. I looked at the docs and didn’t see such an option but figured I would ask just to be safe. I’m sure I could work out a way to do it with some JavaScript but would prefer to use an already built method if it is available. Thanks!

Advertisement

Answer

The Google Places API does not currently support this feature. If you believe this would be a useful feature please submit a Places API – Feature Request.

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement