Datatable Column Filter: Clear Button will not show if filter menu button is hidden #5802
Labels
Type: Bug
Issue contains a defect related to a specific component.
Milestone
Describe the bug
In datatable, the clear filter button will now render unless filter button is also rendered
It appears that there may have been an erroneous change in this commit: deec2b2
Reproducer
https://stackblitz.com/edit/vqsqhi?file=src%2FApp.jsx
PrimeReact version
10.3.3
React version
18.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
Scroll down to the name column and see that showClearButton is set to true and showFilterMenu is false
Expected behavior
If showClearButton is set to true and showFilterMenu is false, the clear button should still show
The text was updated successfully, but these errors were encountered: