Title | Added | Status | Last reviewed |
---|---|---|---|
Search Filter Chips component |
v4.5.0 |
Active |
2021-06-26 |
Represents a chip based container component for custom search and faceted search settings.
<adf-search-filter-chips [showContextFacets]=true></adf-search-filter-chips>
Name | Type | Default value | Description |
---|---|---|---|
showContextFacets | boolean |
true | Toggles whether to show or not the context facet filters |
The component creates chip based widgets dynamically from default/selected search configuration. It uses Search Query Builder service to build and execute the query.
Configured widgets(categories, facetQueries, facetIntervals, facetFields
) should have following setting for smooth interaction.
{
"settings": {
"allowUpdateOnChange": false,
"hideDefaultAction": true
}
}
Here are the steps to move from expansion layout to chip layout
- Use this component to render the new layout
<adf-search-filter-chips></adf-search-filter-chips>
- Add the following settings to old configured widgets(
categories, facetQueries, facetIntervals, facetFields
) i.e
{
"settings": {
"allowUpdateOnChange": false,
"hideDefaultAction": true
}
}