Add inputmode attribute for number inputs
This commit is contained in:
parent
e4c6b61346
commit
1b3cd1a2a4
|
@ -90,6 +90,7 @@
|
|||
on:input={onInput}
|
||||
on:keyup={updateValueOnEnter}
|
||||
{type}
|
||||
inputmode={type === "number" ? "decimal" : "text"}
|
||||
class="spectrum-Textfield-input"
|
||||
/>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue