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

Need help with Autocomplete Search Field for Answers

Received Response
16
Views
7
Comments
edited Jul 22, 2021 11:38AM in Customer Portal 7 comments

Content

Hi,
We have a requirement where we want to add an autocomplete search field widget but even after adding the YUI code it's not working for us.(We are using CP3)
For this we tried making a custom widget using 'sourcesearchfield' widget as its parent.
We have taken reference from these posts -
 
This is what we have done in logic.js file-
YUI().use('node', 'autocomplete', 'autocomplete-highlighters', 'autocomplete-filters', function (Y)  {
                        Y.one('body').addClass('yui3-skin-sam');
                        var node = Y.one('#rn_SourceSearchField_5_SearchInput');

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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