DataTable: filter values reset after selecting a column #5323
Labels
Status: Pending Review
Issue or pull request is being reviewed by Core Team
Type: Bug
Issue contains a defect related to a specific component.
Milestone
Describe the bug
We have a DataTable with column filters and multi select with checkbox.
If we set a value in filters, then we check a row, all filters are reset.
The bug is present in samples of PrimeReact documentation
Reproducer
https://codesandbox.io/s/2h75v7
PrimeReact version
10.0.9
React version
18.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
Firefox 119.0.1
Steps to reproduce the behavior
1 - Fill a filter, like Names with "James" value
2 - Check the checkbox of the first line of the table
--> Filter values will be reset
Expected behavior
The line is selected, and filters are always the same
The text was updated successfully, but these errors were encountered: