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