This field provides the generic search input, which can be customized by defining the search inputs.
Template Syntax
Below you can find some examples of how to use the component within a template.
<search-field searchTarget="THINGS" id="query-1">
<search-input type="ADVANCED"></search-input>
<search-input type="KEY"></search-input>
<search-input type="PROPERTY" property="property.size"></search-input>
<search-input type="CLEAR"></search-input>
</search-field>
Component Reference
Here is a comprehensive list of all the elements and properties that can be used to configure the component.
Search Field <search-field> | |
---|---|
PROPERTIES | |
CSS Class | The name(s) of the CSS class used to customize the widget layout. |
Id | The id used by other page widgets to retrieve the query, and update the data in case the query is changed. |
Label | The field label. |
Query | The array of conditions filtering out items. |
Search Target | The objects to be researched. The advanced search UI depends on the selected target. THINGS LOCATIONS CUSTOMERS PARTNERS ACTIONS ACTIVE_ALERTS HISTORICAL_ALERTS
|
Visibility Condition | The expression that allows you to reduce the visibility of the element. |
SUB-ELEMENTS | |
Search Input | The sub-element used to customize the search UI. |
Search Input <search-input> | |
---|---|
PROPERTIES | |
Input Type | The type of input to be displayed as part of the search field. ADVANCED KEY PROPERTY CLEAR
|
Name | The property for which to show the search field inline. It can only be used for input of type PROPERTY. |