Null coalesce

This commit is contained in:
Mel O'Hagan 2023-09-22 11:35:01 +01:00
parent fc5f14e04f
commit 3bae1662ef
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@
on:focus={() => (active = true)} on:focus={() => (active = true)}
on:blur={() => (active = false)} on:blur={() => (active = false)}
{type} {type}
value={value || ""} value={value ?? ""}
on:change={handleChange} on:change={handleChange}
spellcheck="false" spellcheck="false"
/> />