-
Notifications
You must be signed in to change notification settings - Fork 25
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
Filter with null value in cell can't be reset #34
Comments
@Robbe64 Yes, I think it's an issue, I faced out the same error. When you init the filter value to null, au-table doesn't filter the row, so you will see all the entries. But when you bind a filter value to an html input value, things go in a different way, because Aurelia.io framework accepts to change a model value to an empty string '' from null in the case that a user enters a value and then subsequently backs out that value. This behaviour is explained in the Aurelia.io framework issue #288 and #308, and they suggest to use a NullToEmptyStringValueConverter. I report here the cause
and from issue #308:
Seeing the source, I think the |
… filter value is empty
Not sure if this is an issue of aurelia-talbe:
I have a filter for a column with some null values.
I'm able to init the filter with null to see all entries but after I typed something in the filter input and removed it again the filter is set to an empty string.
This results in not showing all rows having null in this column.
The text was updated successfully, but these errors were encountered: