mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
feat(components): [input-number] add align prop (#21291)
* feat(components): [input-number] add align prop * refactor: change implementation * refactor: simplify SCSS * test: add align prop class test * test: fix type error * Update packages/components/input-number/src/input-number.ts Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com> * Update docs/en-US/component/input-number.md Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com> * chore: useless change --------- Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
This commit is contained in:
@@ -120,6 +120,7 @@ input-number/with-prefix-suffix
|
||||
| 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] | — |
|
||||
| align ^(2.10.5) | alignment for the inner input text | ^[enum]`'left' \| 'center' \| 'right'` | 'center' |
|
||||
|
||||
### Slots
|
||||
|
||||
|
||||
Reference in New Issue
Block a user