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
1. Use this component to render the new layout <adf-search-filter-chips></adf-search-filter-chips>
2. Add the following settings to old configured widgets(categories, facetQueries, facetIntervals, facetFields) i.e
{
...
"settings": {
"allowUpdateOnChange": false,
"hideDefaultAction": true,
...
}
}
here is the example configuration
© 2023 Alfresco Software, Inc. All Rights Reserved.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.