Page 1 of 1

JQuery UI Autocomplete

Posted: Fri Apr 05, 2019 10:12 pm
by pravik
Hi All,

We wanted to implement autocomplete logic in WAM filter of V13, referred DM_T2905 and tried to implement in our filter.

But we dont get the list built out of it. Wanted to know if we should defined any condition on field level or should we do any specific configuration on weblets.

I have attached the source code and the setup done for the design. Filter doesn't crash and doesn't load the list also.

Kindly let us know how to proceed.

Re: JQuery UI Autocomplete

Posted: Mon Apr 08, 2019 10:07 am
by AbelS
Hi Pravik

You need to set the labelField property to A1_LOAN (Have a look at the labelField and valueField properties of the std_autocomplete weblet to see how they work). In your case, you only need to use labelField.

PS: The messages you added for diagnostic won't show in the browser. The JSON response is consumed by the code that handles the autocomplete weblet and it ignores messages. To see what is sent from the server, use a tool like Fiddler.