Discussion

1
Replies
37
Views
PavanKumarG3281 Member since 2020 3 posts
Maven
Posted: October 27, 2020
Last activity: October 28, 2020
Closed

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?

Pega Platform User Interface
Moderation Team has archived post
Share this page LinkedIn