Skip to content

Latest commit

 

History

History
71 lines (52 loc) · 2.35 KB

search-filter-chips.component.md

File metadata and controls

71 lines (52 loc) · 2.35 KB
Title Added Status Last reviewed
Search Filter Chips component
v4.5.0
Active
2021-06-26

Search Filter Chip Component

Represents a chip based container component for custom search and faceted search settings.

Search Filter Chips

Search Filter Chip Menu

Basic usage

<adf-search-filter-chips [showContextFacets]=true></adf-search-filter-chips>

Properties

Name Type Default value Description
showContextFacets boolean true Toggles whether to show or not the context facet filters

Details

The component creates chip based widgets dynamically from default/selected search configuration. It uses Search Query Builder service to build and execute the query.

Widget setting for chip layout

Configured widgets(categories, facetQueries, facetIntervals, facetFields) should have following setting for smooth interaction.

{
    "settings": {
        "allowUpdateOnChange": false,
        "hideDefaultAction": true
    }
}

Migrate from expansion card layout

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
    }
}

See also