p-table: A table with the LazyLoad=true and a filter for type "text" can leave its filter property value to "" instead of the expected null #14380
Labels
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Describe the bug
It seems that there is a way to change the expected value for "text" filter type.
If at start, we load a table with lazy load, the columns which have a filter of type text will have the following in "value":
If we now try to filter by something we will see the value there:
If we now delete the "a" (we don't need to hit apply, by some reason it seems that it automatically applies if textbox is empty) from the dropdown we will see the following:
It was expected for it to be null again instead of "".
Environment
See below
Reproducer
No response
Angular version
17
PrimeNG version
17.1.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
v20.10.0
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: