ghayman
13 years agoGuide
Auto Suggestion
I am building a custom search component. Is there a way to access/enable the auto-suggestion functionality as seen in the standard common-search-bar component?
Thanks!
Geoff
I am building a custom search component. Is there a way to access/enable the auto-suggestion functionality as seen in the standard common-search-bar component?
Thanks!
Geoff
You could build your own using an ajax REST call. This article shows you how you can implement a "search before post" widget on the post page:
http://lithosphere.lithium.com/t5/Developers/Ajax-search-Before-Post-Freemarker/td-p/23874
The logic to build an auto-suggest component would be fairly similar.