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
I understand a filter can be used for added functionality here, but I think that is overkill when you don't need any custom logic or fancy filtering going on. Now if I wanted it to search another value in the object put into the key, that is a good use case for using a custom filter, as it's not loaded into the table. But the key that is loaded into the table, should be searchable without having to add extra logic for the search to be able to detect it. If this is by design, please change the title from Bug to Feature Request.
I did try setting the filter-keys to something like ['name', 'foo.bar'] but that does nothing as well. But without documentation on a lot of the filter items, it's hard to determine without looking into details of the vuetify source code to what it's doing. I have been able to get filter-keys to work on an autocomplete field (with some workarounds that might be needed due to a bug). But cannot get it to work the same on the data table.
The text was updated successfully, but these errors were encountered:
Environment
Vuetify Version: 3.1.11
Vue Version: 3.2.47
Browsers: Chrome 111.0.0.0
OS: Mac OS 10.15.7
Steps to reproduce
Expected Behavior
The search should find values in the table that have been set for the header
key
, even it is an object value.Actual Behavior
It only searches the keys that are not an object value.
Reproduction Link
https://play.vuetifyjs.com/#...
Other comments
I understand a filter can be used for added functionality here, but I think that is overkill when you don't need any custom logic or fancy filtering going on. Now if I wanted it to search another value in the object put into the
key
, that is a good use case for using a custom filter, as it's not loaded into the table. But thekey
that is loaded into the table, should be searchable without having to add extra logic for the search to be able to detect it. If this is by design, please change the title from Bug to Feature Request.I did try setting the
filter-keys
to something like['name', 'foo.bar']
but that does nothing as well. But without documentation on a lot of the filter items, it's hard to determine without looking into details of the vuetify source code to what it's doing. I have been able to getfilter-keys
to work on an autocomplete field (with some workarounds that might be needed due to a bug). But cannot get it to work the same on the data table.The text was updated successfully, but these errors were encountered: