-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
p-table: columnFilter of type numeric are no longer working #15264
Comments
#15243 fixes this. |
Are you sure? The PR doesn't change any transform that correlates with the max/minFractionDigits input. |
I would probably suggest to add |
I ended up removing the transform for |
Thanks |
…f minFractionDigits and maxFractionDigits
I can confirm it does no longer work. A temp workaround is to set [minFractionDigits]="x" [maxFractionDigits]="x" to a value that works for you. |
fix: #15264 use null as fallbackValue for input transform of minFractionDigits and maxFractionDigits
Describe the bug
If you have a simple p-table with a p-colum-filter that is of type numeric, you are not able to use the filter feature of the given columFilter.
If you try to open the columnFilter and try to type some numbers nothing will happen. The following error will be displayed inside of the console.
This seems to be the result of the added input transforms. These will return "NaN" if the value is undefined, which in return breaks the following formatting logic of the input.
Environment
It's a simple p-table with some columns, forked from the offical primeNg table example.
Reproducer
https://stackblitz.com/edit/xaehyx?file=src%2Fapp%2Fdemo%2Ftable-filter-menu-demo.html
Angular version
17.3.1
PrimeNG version
17.13.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
No response
The text was updated successfully, but these errors were encountered: