actengage / vue-place-autocomplete

A Vue component for the Google Place Autocomplete API.
Other
26 stars 27 forks source link

Require a 'cooldown' on the autocomplete field until user completes typing before request is fired #15

Open ChinnuThomas opened 3 years ago

ChinnuThomas commented 3 years ago

The request is going for every key stroke by the user. Instead, it will be more optimized to fire a request only after the user stops typing. May be give a debounce with a few milliseconds. Like below

https://vuejs.org/v2/examples/index.html