primevue icon indicating copy to clipboard operation
primevue copied to clipboard

DataTable: Cannot change matchMode on `filterDisplay` = `menu`

Open jkowalczyk2909 opened this issue 5 months ago • 4 comments

Describe the bug

In filterDisplay = 'menu' mode, you cannot change matchMode . For row mode works fine. Throws:

TypeError: Cannot read properties of undefined (reading '0')
    at Proxy.onMenuMatchModeChange

Reproducer

https://stackblitz.com/edit/primevue-4-vite-issue-template-znkaf6?file=src%2FApp.vue

PrimeVue version

4.0.5

Vue version

4.x

Language

TypeScript

Build / Runtime

Vue CLI App

Browser(s)

No response

Steps to reproduce the behavior

Try change matchMode on filterDisplay mode set to menu

Expected behavior

No response

jkowalczyk2909 avatar Aug 29 '24 12:08 jkowalczyk2909