https://stackblitz.com/edit/angular-xqqm6evd?file=src%2Fapp%2Fapp.component.ts
I took the sample grid from the examples for Filter Menu, and then modified the UnitPrice to reflect a % instead of price.
I'm noticing something strange. When I try to filter, I need to filter on the raw value (so, for 4%, I need to filter on 0.04). This is fine and expected (although, bonus points if there is an option to have the filte reflect the display value, so user just needs to filter on "4").
However, when I start typing in 0.04, it seems that the filter component is resetting the field when enabling the "Filter" button if you're not fast enough. So, for example, you type in "0.0", the button enables, the component evaluates "0.0" and resets it to "0", losing the decimal. This is making it really frustrating to filter on these values.
If you do it fast enough, you can avoid this and filter as expected.
Any thoughts on how to fix this, or pereferably how to get it to filter based on the percentage itself?