My filter doesn't count correctly #6067
Answered
by
davidhemphill
mcatalan-trioteca
asked this question in
Q&A
-
I have a custom filter with a date range and the interface doesn't count well when clearing the values. We execute these lines of code when changing the value of the filter, but the number of the applied filters never decreases.
Does anyone have an idea what might be missing? Thanks for all. filter-count-error.mov |
Beta Was this translation helpful? Give feedback.
Answered by
davidhemphill
Dec 1, 2023
Replies: 1 comment 1 reply
-
You need to ensure you're emitting the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
davidhemphill
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to ensure you're emitting the
change
event in your filter:this.$emit('change')