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
When you specify a key in the field definition which does not exist in your data object, the filterByFormatted option doesn't work. I used a dedicated key to create a new field with a formatter that combines three other fields which are not shown in the table.
closes#5672) (#5674)
* fix(b-table): make sure to apply all formatters of field configuration
* Update .bundlewatch.config.json
* Update .bundlewatch.config.json
* Update table-filtering.spec.js
Describe the bug
When you specify a key in the field definition which does not exist in your data object, the
filterByFormatted
option doesn't work. I used a dedicated key to create a new field with aformatter
that combines three other fields which are not shown in the table.Steps to reproduce the bug
Use the following template:
Or open https://codesandbox.io/s/jccv2?file=/App.vue.
Search on
Foo
-> Item is still visibleSearch on
Bar
-> Item is no longer visibleExpected behavior
b-table
should respect the new field whenfilterByFormatted
is set for it.Versions
Libraries:
Environment:
Demo link
See https://codesandbox.io/s/jccv2?file=/App.vue
The text was updated successfully, but these errors were encountered: