primefaces / primevue

Next Generation Vue UI Component Library
https://primevue.org
MIT License
10.64k stars 1.24k forks source link

Tree: Wrong passThrough option in documentation #6818

Closed erwanlfrt closed 1 day ago

erwanlfrt commented 2 days ago

Describe the bug

According to Primevue documentation, there is a pass through option pcFilterContainer to pass attributes to the filter container but it does not work. I have successfully passed attributes to the filter container using pcFilter instead.

I don't know if you should update the documentation or the component itself.

Reproducer

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

PrimeVue version

4.2.1

Vue version

4.x

Language

ES6

Build / Runtime

Vite

Browser(s)

Chrome v131

Steps to reproduce the behavior

No response

Expected behavior

The tree component should accept the passThrough option pcFilterInput or the documentation should be updated.