You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Issue in Auto suggest and auto complete of oj-input-text

edited Aug 15, 2019 6:11PM in Visual Builder 5 comments

Summary

Issue in Auto suggest and auto complete of oj-input-text

Content

I want to implement auto suggest and auto complete on oj-input-text. I have used the below code in my html page:

<oj-input-text id="avSearchbox" autocomplete="off"  clear-icon="conditional" on-focus="[[$listeners.avSearchboxFocus]]" on-keydown="[[$listeners.avSearchboxKeydown]]" on-keypress="[[$listeners.avSearchboxKeypress]]" on-keyup="[[$listeners.avSearchboxKeyup]]" on-click="[[$listeners.avSearchboxClick]]"></oj-input-text>

I am calling an action chain on the above events in which i am using a module function. To get the details of the selected text from the auto suggest, I am using event.getSource which is giving error as it is not able to detect the type of event in the module function. Please suggest a way or any reference how we can pass the event details to the module function of the action chain.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!