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 2ea05612a5
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>