TypeAhead Search widget not displaying auto completion in mobile menu

Farah6
Tera Contributor

Hi,

AI Search is enabled on the service portal and I am using the typeahead-search widget on the kb_search page. The widget works fine and shows autocomplete and suggestions when accessed from the portal page.

However, when the page is resized and made smaller , I am displaying the same typeahead-search widget in the header instead of the page. In this case, the search does not show auto completion and suggestions. I have attached images for reference.

Has anyone encountered this issue where the typeahead search widget, with AI search enabled,  does not display suggestions when used in the header? Any tips on how to get this to work ?

Thanks,

Farah.

 

1 REPLY 1

Farah6
Tera Contributor

Hi ,

I got this working by adding the option: "disable_all_suggestions": "false" in the widget tag.

<div id='search_widget' class='hidden-sm hidden-md hidden-lg' >
<widget id='typeahead-search' options='{"title": "Enter keywords","disable_all_suggestions": "false"}'></widget>
</div>

Thanks,

Farah.