Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to make exclude filter
Message
 
 
General information
Forum:
AngularJS
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01647997
Message ID:
01648033
Views:
22
>You could just create a custom filter using the predicate function. Check if the operator is included in the 'already selected' array and if so return false, otherwise true....

I am not sure I understand you exactly, but my colleague made it to work from his directive (that was the main challenge, as we do already have a filter that works correctly of filtering items from the array). He eventually didn't use the filter assignment directly, but did something different. Anyway, it seems to work fine.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform