Browse Source
Merge pull request #2838 from Budibase/fix-number-input-ios
Add inputmode attribute for number inputs
gh-pages
Andrew Kingston
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
packages/bbui/src/Form/Core/TextField.svelte
|
|
|
@ -90,6 +90,7 @@ |
|
|
|
on:input={onInput} |
|
|
|
on:keyup={updateValueOnEnter} |
|
|
|
{type} |
|
|
|
inputmode={type === "number" ? "decimal" : "text"} |
|
|
|
class="spectrum-Textfield-input" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
|