Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PanelMenu: top-level items lacking the label, props, hasSubmenu slot properties #4616

Closed
tommie opened this issue Oct 15, 2023 · 1 comment
Closed
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@tommie
Copy link

tommie commented Oct 15, 2023

Describe the bug

The PanelMenu documentation states that it should have a superset of the Menu slot props for #item.

However, only item is populated in PanelMenu, while all slotProps are in PanelMenuSub. An oversight in 832d7e3?

Reproducer

https://codesandbox.io/s/dreamy-antonelli-qc3rsh?file=/src/App.vue

PrimeVue version

3.36.0

Vue version

3.x

Language

TypeScript

Build / Runtime

Nuxt

Browser(s)

Chrome

Steps to reproduce the behavior

  1. Expand the top item.
  2. Notice the difference in available slot props to the top-level items.

Expected behavior

All documented slot props are available for all #item template invocations.

@tommie tommie added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Oct 15, 2023
@tugcekucukoglu tugcekucukoglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Oct 17, 2023
@tugcekucukoglu tugcekucukoglu added this to the 3.37.0 milestone Oct 17, 2023
@tugcekucukoglu tugcekucukoglu self-assigned this Oct 17, 2023
@tommie
Copy link
Author

tommie commented Oct 17, 2023

Many thanks, @tugcekucukoglu !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants