Search input widget
Last updated
Was this helpful?
Last updated
Was this helpful?
The search input widget is typically used in a global template and positioned in the header of the page. It renders a search input field as well as search suggestions, depending on the mode.
See the example in .
The following options can be configured when creating the Search Input Widget.
mode
'standard'
| 'typeahead'
| 'suggestions'
| 'results'
'suggestions'
redirect
{url: string, queryParamName: string}
{url: 'search', queryParamName: 'q'}
The mode of the input. For details, see .
Options to set the redirect URL and the name of the search query param, normally, the destination is where the is located.