JQuery UI Autocomplete

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
Posts: 60
Joined: Tue Dec 26, 2017 6:44 pm

JQuery UI Autocomplete

Post by pravik » Fri Apr 05, 2019 10:12 pm

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.
(110.19 KiB) Downloaded 134 times

Posts: 33
Joined: Wed Nov 16, 2016 1:43 pm
Location: Sydney, Australia

Re: JQuery UI Autocomplete

Post by AbelS » Mon Apr 08, 2019 10:07 am

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.


Post Reply