Skip to content

Commit

Permalink
docs(radio): set identifier attribute so that the story actually works
Browse files Browse the repository at this point in the history
  • Loading branch information
daenub committed Nov 3, 2023
1 parent 7db09a5 commit 7d0a059
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/radio/stories/radio.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ function Template({
disabled = false,
}) {
return html`
<leu-radio .value=${value} ?checked=${checked} ?disabled=${disabled}>
<leu-radio
.value=${value}
?checked=${checked}
?disabled=${disabled}
identifier=${"radio-1"}
>
${label}
</leu-radio>
`
Expand Down

0 comments on commit 7d0a059

Please sign in to comment.