We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any anonymous filter-function passed to a b-table component is ignored since version 2.22.0. This is working correctly in version 2.21.2.
filter-function
b-table
<template> <b>With Named Filter</b> <b-table :items="items" :filter="criteria" :filter-function="namedFilter"> </b-table> <b>With Anonymous Filter</b> <b-table :items="items" :filter="criteria" :filter-function="anonymousFilterFactory()"> </b-table> </template> <script> export default { data() { return { anonymousFilterFactory: () => (row, filter) => false, namedFilter: (row, filter) => false, criteria: "40", items: [{ age: 40, first_name: 'Dickerson', last_name: 'Macdonald' }, { age: 21, first_name: 'Larsen', last_name: 'Shaw' }, { age: 89, first_name: 'Geneva', last_name: 'Wilson' }, { age: 38, first_name: 'Jami', last_name: 'Carney' } ] } } }) } </script>
Same result with named or anonymous filter functions
Libraries:
Environment:
CodePen
It seems to be a regression introduced by #6345
The text was updated successfully, but these errors were encountered:
Hi, I have exactly the same problem. I use this feature a lot so I have to stick with version v2.21.2 until this regression is fixed.
Would it be possible to release a new version that only fixes this regression? Thank you!
Thierry.
Sorry, something went wrong.
pin bootstrap-vue to 2.21.2 to repair filtering
3abc68a
see bootstrap-vue/bootstrap-vue#6967
Just ran into this issue too and had to roll back. Eager for updates as we use tables an filtering a lot.
No branches or pull requests
Describe the bug
Any anonymous
filter-function
passed to ab-table
component is ignored since version 2.22.0.This is working correctly in version 2.21.2.
Steps to reproduce the bug
Expected behavior
Same result with named or anonymous filter functions
Versions
Libraries:
Environment:
Demo link
CodePen
Additional context
It seems to be a regression introduced by #6345
The text was updated successfully, but these errors were encountered: