mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 10:51:06 +00:00
Add missing names.
This commit is contained in:
parent
6f51bdbf1b
commit
5b715d1ab2
6 changed files with 22 additions and 7 deletions
|
@ -79,7 +79,7 @@ Use the `selected` prop to bind and update the selected value.
|
|||
|
||||
## Skeleton
|
||||
|
||||
<RadioButtonGroup legendText="Storage tier (disk)">
|
||||
<RadioButtonGroup legendText="Storage tier (disk)" name="skeleton">
|
||||
<RadioButtonSkeleton />
|
||||
<RadioButtonSkeleton />
|
||||
<RadioButtonSkeleton />
|
||||
|
@ -87,8 +87,8 @@ Use the `selected` prop to bind and update the selected value.
|
|||
|
||||
## Skeleton (vertical)
|
||||
|
||||
<RadioButtonGroup orientation="vertical" legendText="Storage tier (disk)">
|
||||
<RadioButtonGroup orientation="vertical" legendText="Storage tier (disk)" name="skeleton-vertical">
|
||||
<RadioButtonSkeleton />
|
||||
<RadioButtonSkeleton />
|
||||
<RadioButtonSkeleton />
|
||||
</RadioButtonGroup>
|
||||
</RadioButtonGroup>
|
||||
|
|
|
@ -10,7 +10,11 @@
|
|||
|
||||
<Theme bind:theme />
|
||||
|
||||
<RadioButtonGroup legendText="Carbon theme" bind:selected="{theme}">
|
||||
<RadioButtonGroup
|
||||
legendText="Carbon theme"
|
||||
name="theme"
|
||||
bind:selected="{theme}"
|
||||
>
|
||||
{#each ["white", "g10", "g80", "g90", "g100"] as value}
|
||||
<RadioButton labelText="{value}" value="{value}" />
|
||||
{/each}
|
||||
|
|
|
@ -10,7 +10,11 @@
|
|||
|
||||
<Theme bind:theme persist persistKey="__carbon-theme" />
|
||||
|
||||
<RadioButtonGroup legendText="Carbon theme" bind:selected="{theme}">
|
||||
<RadioButtonGroup
|
||||
legendText="Carbon theme"
|
||||
name="theme"
|
||||
bind:selected="{theme}"
|
||||
>
|
||||
{#each ["white", "g10", "g80", "g90", "g100"] as value}
|
||||
<RadioButton labelText="{value}" value="{value}" />
|
||||
{/each}
|
||||
|
|
|
@ -128,6 +128,7 @@
|
|||
<RadioButtonGroup
|
||||
style="margin-top: var(--cds-spacing-08)"
|
||||
legendText="Carbon themes"
|
||||
name="theme"
|
||||
bind:selected="{$theme}"
|
||||
>
|
||||
{#each ["white", "g10", "g80", "g90", "g100"] as value}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue