feat(select-item): use text or value

This commit is contained in:
Eric Liu 2020-01-04 09:09:36 -08:00
commit c4d9d26548

View file

@ -24,5 +24,5 @@
</script>
<option class={cx('--select-option', className)} {value} {disabled} {hidden} {style} {selected}>
{text}
{text || value}
</option>