Discussion
Maven
US
Last activity: 28 Oct 2020 12:07 EDT
Autocomplete - avoid calls for each key stroke
I have an auto complete configured with Data Page as source. I am calling Address API with in the data page and displaying the addresses in auto complete.
Problem here is, API is being called for each key stroke. For example: If address entered is 123 ABC Drive, autocomplete feature is causing the API to trigger for 1, 12, 123, 123 A, 123 AB and 123 ABC. I do not want to call API so many times like this. I want to call API only when user pauses.
I tried minimum character limit feature, but it's calling API for each character after minimum character limit.
Any thoughts on this?