Post Closed
13
Views
2
Comments
Pass search text value to API and autocomplete widget
Question
Application Type
Reactive

Hi,

I am looking to perform a search using a dropdown widget against an API and retrieve the list of possible records in the dropdown list (like an autocomplete) such that user can select only one record on change of text.

This is not a search against a pre loaded list from API but a dynamic search that will retrieve a possible list of records based on user input. Can anyone please recommend what will be best widget to use? I was using dropdown search widget initially but realised that it works with only a pre loaded set of records. Thanks!


2023-11-20 06-53-17
Neha Rathore

Hi Anuj,
You can use the onchange event of the text

and in this client action you can retrieve your data or if the list is entirely different then you can use hide and show of the dropdown  
You can share OML for better understanding.

Thanks


2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Hi Anuj,

Please do not post a question twice. I'm going to close this topic now. @Neha Rathore please write your answer in the other topic as well.