1
0
Fork 0
mirror of synced 2024-09-11 15:08:05 +12:00

fix warnings

This commit is contained in:
Peter Clement 2023-01-27 11:49:44 +00:00
parent 8372b50de1
commit 7ccce5c042

View file

@ -122,7 +122,7 @@
bind:this={field} bind:this={field}
disabled={false} disabled={false}
{readonly} {readonly}
id={"thisOne"} {id}
data-cy={dataCy} data-cy={dataCy}
value={hbsValue.length ? `{{ ${hbsValue[0]} }}` : value} value={hbsValue.length ? `{{ ${hbsValue[0]} }}` : value}
placeholder={placeholder || ""} placeholder={placeholder || ""}
@ -135,7 +135,7 @@
on:focus={onFocus} on:focus={onFocus}
on:input={onInput} on:input={onInput}
{type} {type}
style="color: white !important;" style={align ? `text-align: ${align};` : ""}
class="spectrum-Textfield-input" class="spectrum-Textfield-input"
inputmode={type === "number" ? "decimal" : "text"} inputmode={type === "number" ? "decimal" : "text"}
/> />