angular-filter
angular-filter copied to clipboard
filterBy multiple values
Hi, is it possible to apply filterBy with multiple values eg:
ng-repeat="s.value as s.text for s in statuses | filterBy: ['value']: 2,3,4"
Thank you!
I would like to have a filter like this, but with a bind-able array to filter.
Would maybe require a distinct filter like (| filterValueIn: ['value']: [1,2,3]
)
I'm looking for this too. +1
@a8m is this somethign you want to add? I'm happy to submit a PR.
It could be a nice feature to add, but imo it will make the API feel inconsistent. Because, the other filters not support that, and we want to stay aligned with the others. (which means we need support "function as an option" which may solve the problem too).
Let me know what do you think guys. cheers!
Is this any progression? Really need this kind of implement!