1
0
Fork 0
mirror of synced 2024-07-01 12:30:41 +12:00

Merge pull request #2838 from Budibase/fix-number-input-ios

Add inputmode attribute for number inputs
This commit is contained in:
Andrew Kingston 2021-10-01 11:46:33 +01:00 committed by GitHub
commit 13693ad76f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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