Use null coalescing

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

View File

@ -96,8 +96,8 @@
{disabled}
{readonly}
{id}
value={value || ""}
placeholder={placeholder || ""}
value={value ?? ""}
placeholder={placeholder ?? ""}
on:click
on:blur
on:focus