-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Description
Hi, first of all thank you for your pretty awesome library.
As described in the documentation, you are supposed to be able to use filterBy with a custom filter but it doesn't seem to work.
I just created my custom filter as a function that will call alert whenever invoked, it works fine unless I use it with filterBy in which case my filter isn't even called.
It seems to work if you declare your custom filter inside your data options but it doesn't seem like it's the expected behavior.
Vue.js version
1.0.19
Reproduction Link
https://jsfiddle.net/j3mwzf3j/3/
Steps to reproduce
use filterBy with a custom filter
What is Expected?
the filterBy filter should call myFilter if it's registered as a global filter or if it's declared in options
What is actually happening?
myFilter is never called whether it is described as a global filter or a filter in my instance.
It's called if I put it in the data object though
Thanks a lot in avance!