You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error in data(): "TypeError: Cannot read property 'birthdayFilter' of undefined"
Property or method "filters" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property
The text was updated successfully, but these errors were encountered:
juaniyofm
changed the title
Custom filter: undefined custom function in filters property
Custom filter: undefined custom function in filters configuration property
Jul 12, 2021
I'm triying to filter by date field. For that, I'm using the custom filters functionality:
In the template:
<v-table :data="data" :filters="filters" ... >
In the filters object:
In the created hook:
When the page is rendered, it throws errors:
The basic filters work fine in the page, custom filters don't. I have followed the official documentation (https://tochoromero.github.io/vuejs-smart-table/filtering/#custom-filters) and my Vue version is 2.6.12
Thanks.
The text was updated successfully, but these errors were encountered: