mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
fix(select): falsy item text
should not override value
(#2118)
Fixes #2117
This commit is contained in:
parent
49f9cb00ed
commit
663b79ad05
3 changed files with 18 additions and 1 deletions
|
@ -55,5 +55,5 @@
|
|||
class={className}
|
||||
{style}
|
||||
>
|
||||
{text || value}
|
||||
{text ?? value}
|
||||
</option>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue