Primeng Table: Clear the filters which are not applied when filter menu closed by clicking outside the menu #15557
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
Hi Team,
We are using Primeng Tables filter option. We need to clear the filters which are selected but not applied when we close filter menu by clicking outside of the menu.
Steps to reproduce:
Open the Primeng filter menu example. https://primeng.org/table#filter-menu
Click on Filter icon beside Name / Country column and open the filter menu.
Enter some text in the text box
Click out side the filter menu. Now the filter menu will close without applying the filter
But you can see the filter icon turns to blue indicating that some filter applied to that column
Again open the Filter menu for the same column
You can see the same text in the filter.
Expected Result
Actual Result
PrimeNG Discussion Link https://github.com/orgs/primefaces/discussions/1718
Environment
Angular And Windows
Reproducer
No response
Angular version
17.3.1
PrimeNG version
17.16.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.13.0
Browser(s)
Chrome
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: