Skip to content

Commit

Permalink
Fix example in storybook when value is set to 'none'
Browse files Browse the repository at this point in the history
  • Loading branch information
mollykreis committed Oct 9, 2024
1 parent a3cf595 commit 5924f27
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const radioGroup: StoryObj<RadioGroupArgs> = {
orientation="${x => x.orientation}"
?disabled="${x => x.disabled}"
name="${x => x.name}"
value="${x => x.value}"
value="${x => (x.value === 'none' ? undefined : x.value)}"
?error-visible="${x => x.errorVisible}"
error-text="${x => x.errorText}"
style="min-width: 200px;"
Expand Down

0 comments on commit 5924f27

Please sign in to comment.