Posted 22 December 2021, 6:27 pm EST
Hi,
I’m using the WjMultiSelect filter in an Angular app, bound to an array of objects and using the built-in filter box - nice default behaviour out of the box.
However, I’d like to be able to extend the filtering logic applied with something more specific.
For instance, if the filter term entered is “red kettle”, I’d like to include any items that have the words “red” and “kettle” anywhere in the list entry - or some more complex filter behaviour.
It there an event or callback function I can hook into that would let me do this?
My fallback position is to use a separate input box and filter the source data array itself - easy enough - but I want to make sure I’m not missing an event or property? The built-in filter box is also very neatly aligned, so I’d like to use that if possible.
Thanks.