TypeAhead Search widget not displaying auto completion in mobile menu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2022 03:45 PM
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.
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2022 02:56 PM
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.