Closed mrDinckleman closed 4 days ago
According to the documentation the item slot receives the parameter:
item
hasSubmenu: boolean, // Whether or not there is a submenu
But according to the code - root item receives the array of items.
Is this a bug in the code or a typo in the documentation?
https://stackblitz.com/edit/primevue-4-vite-issue-template-bbiwne?file=src%2FApp.vue
4.2.1
4.x
TypeScript
Vite
No response
Describe the bug
According to the documentation the
item
slot receives the parameter:But according to the code - root item receives the array of items.
Is this a bug in the code or a typo in the documentation?
Reproducer
https://stackblitz.com/edit/primevue-4-vite-issue-template-bbiwne?file=src%2FApp.vue
PrimeVue version
4.2.1
Vue version
4.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response