There was an error while loading. Please reload this page.
1 parent cd18846 commit 26c9f1dCopy full SHA for 26c9f1d
1 file changed
packages/varlet-ui/src/input/Input.vue
@@ -63,7 +63,7 @@
63
:maxlength="maxlength"
64
:rows="rows"
65
:enterkeyhint="enterkeyhint"
66
- :inputmode="inputmode"
+ :inputmode="inputmode != null ? inputmode : type === 'number' ? 'decimal' : undefined"
67
:style="{
68
color: !errorMessage ? textColor : undefined,
69
caretColor: !errorMessage ? focusColor : undefined,
@@ -98,7 +98,7 @@
98
:placeholder="!hint ? placeholder : undefined"
99
100
101
102
103
104
0 commit comments