Forum Academy Marketplace Showcase Pricing Features

How to stop google place api to autocomplete in the search box and only show the results when the user press enter?

So I was testing out google place API with the search box and notice that even when I randomly type places the API call has gone from 220 to 270 in like 30 seconds.

If someone randomly smashes the keyboard in an hour or use bots to playing with the web I think the google map service charge fee would be extremely high.

So I want to enable the autocomplete function only when the user press enter, but I could not seem to find a way for the searchbar to only show results when I press enter, anyone knows how to do it?

Try using an Input element with the content format set to “Address”. You can either have Enter submit or not depending on preference. Then, make sure your map is set to reflect the Input element.