"in" doesn't properly filter value of null for Table #5735
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Situation: Filtering a column field using a multiselect
car.owner = null;
filter list using multiSelect with value {label: 'empty', value: null}
List does not get properly filtered, even though car's owner (null) is in filtered values list ([null])
This due to a null check that seems out of place:
primeng/src/app/components/table/table.ts
Line 1182 in d20cc31
Example on stackblitz:
Try filtering on owner "None"
https://stackblitz.com/edit/github-6mznqy
Current behavior
"in" filter returns false when checking if
is in
Expected behavior
"in" filter returns true
The text was updated successfully, but these errors were encountered: