QuanticSearchBox
QuanticSearchBox
The QuanticSearchBox
component creates a search box with built-in support for query suggestions.
Example
<c-quantic-search-box engine-id={engineId} placeholder="Enter a query..." without-submit-button number-of-suggestions="8"></c-quantic-search-box>
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
|
|
The ID of the engine instance the component registers to. |
|
|
|
|
The placeholder text to display in the search box input area. |
|
|
|
|
Whether not to render a submit button. |
|
|
|
|
The maximum number of suggestions and recent search queries to display. |
|
|
|
|
Whether to render the search box using a textarea element. The resulting component will expand to support multi-line queries. |
|
|
|
|
Whether to disable rendering the recent queries as suggestions. |
|
|
XML Configuration File Elements
The following XML configuration file elements apply (see XML Configuration File Elements).
Metadata | Value |
---|---|
|
|
|
|
Associated Use Cases
This component is also relevant in the following use case: