mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
feat(select-item): use text or value
This commit is contained in:
parent
f87fab97c6
commit
c4d9d26548
1 changed files with 1 additions and 1 deletions
|
@ -24,5 +24,5 @@
|
|||
</script>
|
||||
|
||||
<option class={cx('--select-option', className)} {value} {disabled} {hidden} {style} {selected}>
|
||||
{text}
|
||||
{text || value}
|
||||
</option>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue