VadimDez/ngx-filter-pipe

Filter by null value

matthews90 opened this issue · 2 comments

Cannot filter array by property null value. I cant find objects with null property value:

https://stackblitz.com/edit/ngx-filter-pipe-vvsfie?file=app/app.component.ts

So you expect that pipe will return only one value { name: null }?

Yes, please.

My Use-Case for this is, having an array of elements where I want to filter:

Give me every element
Where the value is "Group1" or "Group2" or where property is empty

Only if the element has the value "Group3", it should be filtered out.