mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
SelectItem: fix to use the value when text is undefined after #2118
This commit is contained in:
parent
896c16a6be
commit
4295e9740c
6 changed files with 30 additions and 15 deletions
3
types/Select/SelectItem.svelte.d.ts
vendored
3
types/Select/SelectItem.svelte.d.ts
vendored
|
@ -9,7 +9,8 @@ export type SelectItemProps = {
|
|||
|
||||
/**
|
||||
* Specify the option text
|
||||
* @default ""
|
||||
* If not specified, the value will be used as the text.
|
||||
* @default undefined
|
||||
*/
|
||||
text?: string;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue