Expand my Community achievements bar.

SOLVED

Autocomplete search component

Avatar

Level 4

Hello,

I am trying to create a search component that retrieves data from under certain node(s)  in aem using an ajax call.

I need the search to pull names for example in search box  when I type.

When I type 2 or 3 letters it should show me results in search box.

What I am looking for now is any example aem docs or information.

Thanks in advance,

Keehwan

1 Accepted Solution

Avatar

Correct answer by
Level 10

The out of the box search component does not support this. To achieve this functionality, you would need to use a JQuery plug-in that supports this - something like:

https://jqueryui.com/autocomplete/

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

The out of the box search component does not support this. To achieve this functionality, you would need to use a JQuery plug-in that supports this - something like:

https://jqueryui.com/autocomplete/