feat(components): [input] native inputmode prop for el-input & el-input-number (#14997)

* feat(components): add native inputmode for el-input

* feat(components): add native inputmode for el-input-number
 Please enter the commit message for your changes. Lines starting

* chore: rm "props" in template
This commit is contained in:
fratzinger
2025-06-20 14:24:26 +02:00
committed by GitHub
parent 4dbb805181
commit bc7773b673
6 changed files with 21 additions and 3 deletions

View File

@@ -119,6 +119,7 @@ input-number/with-prefix-suffix
| value-on-clear ^(2.2.0) | value should be set when input box is cleared | ^[number] / ^[null] / ^[enum]`'min' \| 'max'` | — |
| validate-event | whether to trigger form validation | ^[boolean] | true |
| label ^(a11y) ^(deprecated) | same as `aria-label` in native input | ^[string] | — |
| inputmode ^(2.10.3) | same as `inputmode` in native input | ^[string] | — |
### Slots

View File

@@ -151,6 +151,7 @@ input/length-limiting
| validate-event | whether to trigger form validation | ^[boolean] | true |
| input-style | the style of the input element or textarea element | ^[string] / ^[object]`CSSProperties \| CSSProperties[] \| string[]` | {} |
| label ^(a11y) ^(deprecated) | same as `aria-label` in native input | ^[string] | — |
| inputmode ^(2.10.3) | same as `inputmode` in native input | ^[string] | — |
### Events