mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
feat(select): support selected
prop number type (#1355)
* feat(select): support number type * Run "yarn build:docs" * refactor(pagination): do not coerce `pageSize`, `page` to be numbers * test(select): assert selected prop number type
This commit is contained in:
parent
f8b1c8a23a
commit
78d3f1328a
8 changed files with 37 additions and 32 deletions
|
@ -14,8 +14,8 @@
|
|||
<SelectItem value="g100" text="Gray 100" />
|
||||
</Select>
|
||||
|
||||
<Select labelText="Carbon theme" selected="g10">
|
||||
<SelectItem value="0" text="Select a theme" disabled hidden />
|
||||
<Select labelText="Carbon theme" selected="{0}">
|
||||
<SelectItem value="{0}" text="Select a theme" disabled hidden />
|
||||
<SelectItemGroup label="Light theme">
|
||||
<SelectItem value="white" text="White" />
|
||||
<SelectItem value="g10" text="Gray 10" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue