Skip to content

Commit

Permalink
fix(panelmenu): add label association
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterCarl committed Nov 24, 2024
1 parent 711fdbc commit 99ca813
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/primevue/panelMenu/panelMenu.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ export const Default: StoryObj<typeof meta> = {
const expandedKeys = ref({ R: true, "R-A": true });
return { args, items, expandedKeys };
},
template: html`<label class="ris-label2-regular mb-16 block"
template: html`<label for="menu" class="ris-label2-regular mb-16 block"
>Dokumentarten</label
><PanelMenu
id="menu"
:model="items"
v-model:expandedKeys="expandedKeys"
class="md:w-200 w-full"
Expand Down

0 comments on commit 99ca813

Please sign in to comment.