Add inputmode attribute for number inputs

This commit is contained in:
Andrew Kingston 2021-10-01 11:15:15 +01:00
parent 2b49635a31
commit ecd6818a13
1 changed files with 1 additions and 0 deletions

View File

@ -90,6 +90,7 @@
on:input={onInput}
on:keyup={updateValueOnEnter}
{type}
inputmode={type === "number" ? "decimal" : "text"}
class="spectrum-Textfield-input"
/>
</div>