-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Issue
If category dropdown is reset whenever any "select" or "multi-select" option is selected
How to reproduce it
configure the useTableState with a configuration similar to:
filter: {
isEnabled: true,
filterCategories: [
{
key: "filterText",
title: "Filter text",
placeholderText: "Search",
type: FilterType.search,
},
{
key: "severity",
title: "Severity",
placeholderText: "Severity",
type: FilterType.multiselect,
selectOptions: [
{ key: "low", value: "Low" },
{ key: "moderate", value: "Moderate" },
{ key: "important", value: "Important" },
{ key: "critical", value: "Critical" },
],
},
],
},
- Then try to select a filter of the
FilterType.multiselectand once you select an option then the main filter category selector will be reset toFilterTextinstead of keep the original category selector
Screencast.from.2024-02-20.09-26-26.webm
I know this repository is under development and I don't expect this to be solved ASAP, but I wanted to write my findings somewhere as I find this repository extremely useful for Patternfly UI developers
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels