vuetify icon indicating copy to clipboard operation
vuetify copied to clipboard

[Bug Report][3.6.8] No item matches when all headers use custom filter

Open hitochan777 opened this issue 8 months ago • 1 comments

Environment

Vuetify Version: 3.6.8 Vue Version: 3.4.27 Browsers: Chrome 125.0.0.0 OS: Linux x86_64

Steps to reproduce

Use filter key for all headers in v-data-table.

Expected Behavior

Items should match according to filter functions.

In the current doc of Vuetify 3, it says intersection: There is at least one match from the custom filter, and all columns match the custom key filters. I am using default filter-mode which is intersection so the behavior seems to follow what the docs says. However, in the doc of Vuetify2, it says intersection: There is at least one match from the default filter, AND all custom column filters match. If I understand correctly, they are supposed to behave the same if I don't specify custom filter and let it use default filter.

One workaround is to use every for filter-mode, but I just want to know if the current behavior is intentional or not . If it is intentional it would be better if the documentation gets more clarification.

Actual Behavior

No item matches even when there are actually matches. In Vuetify2, they matches properly.

Reproduction Link

Vuetify2 Vuetify3

hitochan777 avatar Jun 07 '24 17:06 hitochan777