We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5149e52 + bbe6da4 commit a3a661eCopy full SHA for a3a661e
2 files changed
src/components/core/filters/filter-group.jsx
@@ -13,7 +13,7 @@ type State = {
13
14
export default class FilterGroup extends Component {
15
props: FilterGroupProps;
16
- state: State = { expanded: false };
+ state: State = { expanded: this.props.initiallyExpanded };
17
18
selectedCount = () => {
19
const { values = [] } = this.props;
src/components/core/filters/types.js
@@ -26,4 +26,5 @@ export type FilterGroupProps = {
26
values?: Array<FilterValue>,
27
onClearFacet?: Function,
28
onSelectFacet?: Function,
29
+ initiallyExpanded?: boolean,
30
};
0 commit comments