Fix combobox sometimes showing a value of 'undefined'

This commit is contained in:
Andrew Kingston 2021-06-17 12:19:05 +01:00
parent e6f9f3ec6f
commit d3dad2ddab
1 changed files with 2 additions and 2 deletions

View File

@ -63,9 +63,9 @@
on:focus={() => (focus = true)}
on:blur={() => (focus = false)}
on:change={onChange}
{value}
value={value || ""}
placeholder={placeholder || ""}
{disabled}
{placeholder}
class="spectrum-Textfield-input spectrum-InputGroup-input"
/>
</div>