mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
fix(select): falsy item text
should fallback to value
(#2152)
This commit is contained in:
parent
436dea47e8
commit
61ea8dd82c
6 changed files with 32 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