qiang
9043e16d94
fix: the KeyboardEvent.code is always empty string on Android ( #22228 )
...
closed #20330
2025-09-21 01:23:38 +02:00
btea
5e402ac252
fix(components): [input-number] dynamic precision render value ( #21558 )
...
* fix(components): [input-number] dynamic precision render value
* chore: test case
2025-07-31 15:44:12 +08:00
snowbitx
da67d58a97
feat(components): [input-number] add disabled-scientific prop ( #21319 )
...
* feat(components): [input-number] add disableScientific prop
* chore: useless change
* Update basic.vue
* Update basic.vue
* Update docs/en-US/component/input-number.md
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
* refactor: merge events
* test: add test case
* chore: tweaks
* Update notes
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update docs/en-US/component/input-number.md
Co-authored-by: btea <2356281422@qq.com >
* chore: rename prop
---------
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
Co-authored-by: Dsaquel <291874700n@gmail.com >
Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: btea <2356281422@qq.com >
2025-07-18 22:38:49 +08:00
snowbitx
da08a2ffaf
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 >
2025-07-17 15:45:24 +08:00
thinkasany
7dbac0e1bc
chore: use event constants instead string ( #20104 )
...
* chore: use UPDATE_MODEL_EVENT constants
* chore: update INPUT_EVENT & CHANGE_EVENT
2025-03-12 15:52:07 +08:00
Aaron-zon
da7c8cec1d
test(components): [input-number] ensure that length restriction exceptions can be caught ( #18988 )
...
fix(components): ensure that length restriction exceptions can be caught
2024-11-22 16:02:45 +08:00
KESHAOYE
18a77d5829
fix(components): step-strictly is true and should keep the initial value and step matching ( #18277 )
...
* fix(components): 修复step-strictly为true时初次渲染组件v-model与输入框中显示的值不同的问题
When step strictly is set to true, the initial rendering of component v-model differs from the value
displayed in the input box。See issue # 18275 for details。
closed #18275
* fix: unit test error
* test(components): [input-number] test cases with fixes added
2024-09-17 13:36:36 +08:00
kooriookami
29ae802fae
chore(components): fix test warning ( #16688 )
2024-04-28 14:56:16 +08:00
selicens
1ec6fe5830
feat(components): [input-number] support slot custom icons ( #16275 )
...
* feat(components): support slot custom icons
* chore:add version identifier
Co-authored-by: btea <2356281422@qq.com >
* chore: adjusting Layout
* docs: add version
* chore: rename slots
* test: update test cases
* docs: uodate description
* chore: rename
---------
Co-authored-by: btea <2356281422@qq.com >
2024-03-29 14:10:29 +08:00
希亚的西红柿
33f41f7795
fix(components): [input-number] fix default value reset error ( #15725 ) ( #15725 )
...
* fix(components): [input-number] fix default value reset error
* test(components): [input-number] fix value default value reset error
2024-02-27 17:48:17 +08:00
一只前端汪
d553ae3920
fix(components): [input-number] Displayed values is different from modelValue when use model-value ( #15184 )
...
* fix(components): [input-number] Displayed values error
* feat: remove await
* fix: remove async
* fix: arrange
* feat: add tset case
2023-12-28 14:58:10 +08:00
kooriookami
b7a05e7687
fix(components): [input-number] Fix not trigger change event and incorrect value display ( #15066 )
...
* fix(components): [input-number] Fix not trigger change event
closed #14967
* fix(components): [input-number]
* test(components): update test
* fix(components): fix #14438
2023-12-12 12:08:16 +08:00
Karolis_Stoncius_Sneakybox
268457135e
feat(components): added aria-level attributes for dialog and drawer headers; Fixed input-number's aria-valuenow being null ( #13822 )
...
* feat(components): [dialog] added dialog header aria-level attribute
To pass accessibility tests elements with role="heading" require aria-level
* feat(components): [drawer] added drawer header aria-level attribute
To pass accessibility tests elements with role="heading" require aria-level
* fix(components): [input-number] prevent aria-valuenow from being null
To pass accessibility tests aria-valuenow cannot be null
* fix(components): [input-number] fix number input when 0 and update test
Fixes a bug where number input's aria-valuenow will be set to '' when input's value is 0. Also
updates a failing test
* refactor(components): [dialog] change default aria-level to 2
* docs(components): dialog and drawer header aria-level docs update
* docs(components): change headerAriaLevel type to string
* docs(components): kebab-case for docs
2023-08-24 20:14:59 +08:00
20savage
701940731a
fix(components): [input-number] add Judging if the max is greater than the min ( #12741 )
...
fix(components): update Judging if the max is greater than the min
closed #12741
2023-05-13 11:15:52 +08:00
Mario34
b5bf0ebf30
fix(components): [input-number] modelValue incorrect update ( #12007 )
2023-03-16 00:22:37 +08:00
Stephen.K
c39d591251
fix(components): input-number 0 can not triger change event ( #10980 )
...
* fix(components): input-number 0 can not triger change event
* fix(components): use isNumber(userInput)
* test(components): change event add input 0 case
2022-12-16 08:50:17 +08:00
白雾三语
1d20619c50
fix(components): [input-number] Input actions can update values ( #10329 )
...
* fix(components): [input-number] Input actions can update values
* fix(components): [input-number] added unit test
* fix(components): [input-number] format
* fix(components): [input-number] update
Co-authored-by: chenzhihui <18281682921@qqcom>
2022-11-21 21:20:47 +08:00
zz
ae4679ac30
fix(components): [input-number] correct input event behavior ( #9850 )
2022-09-21 06:16:14 +00:00
zz
b076b61c01
feat(components): [input-number] add new prop readonly ( #9545 )
2022-08-31 11:47:26 +08:00
sorry
d20e58ecbb
fix(components): [input-number] Fix value decimals miss prop precision ( #8587 )
...
* fix(components): [input-number] Fix value decimals miss prop precision
2022-07-02 15:38:07 +08:00
zz
ffd83fda93
refactor(components): [input-number] switch to script-setup syntax ( #7888 )
2022-05-29 03:55:04 +08:00
zz
cce4694eb8
refactor(components): [input-number] use JSX in Unit test ( #7890 )
2022-05-28 09:13:34 +08:00
Xc
a1bc742f7f
fix(components): [input-number] enhanced precision ( #7777 )
...
* fix: input-number enhanced precision
* Update packages/components/input-number/src/input-number.vue
use explicit conversion
Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com >
* Update packages/components/input-number/src/input-number.vue
use explicit conversion
Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com >
* fix: input-number enhanced precision processing
* fix(input-number): enhanced precision
* fix(input-number): ebhanced precision
Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com >
2022-05-24 13:42:09 +08:00
Carter Li
2577b06328
feat(components): [input-number] add :value-on-clear and make it nullable ( #7724 )
2022-05-17 01:16:44 +08:00
opengraphica
7173e402b7
feat(components): [form-item] auto attach labels to inputs ( #7450 )
...
* feat(components): [form-item] auto attach labels to inputs
* feat(components): [form-item] auto-attach up through select
* feat(components): [form-item] auto id complete for all inputs
* feat(components): [form-item] fix lint, remove unused usePopper hook
* feat(components): [form-item] PR comments
2022-05-05 22:04:32 +08:00
Xc
654428d144
fix: input-number precision accuracy ( #7398 )
...
Enhanced precision processing.
2022-05-02 16:38:08 +08:00
三咲智子
1d13ebb05d
feat: drop jest ( #7248 )
...
* feat: drop jest
* test: remove ssr
* test: rename
* chore: update tsconfig
2022-04-19 16:51:44 +08:00
Delyan Haralanov
de0ee53cf0
test(components): switch all components to vitest ( #7205 )
...
Co-authored-by: 三咲智子 <sxzz@sxzz.moe >
2022-04-19 12:46:57 +08:00
三咲智子
184facdb4c
chore: add eslint rule sort imports ( #6823 )
2022-03-25 15:35:56 +08:00
Alan Wang
acf8fbd8ee
fix(components): [el-input-number]do not change undefined to NaN ( #5049 )
...
* fix(components): [el-input-number]do not change undefined to NaN
* fix(components): [el-input-number]change null
2022-01-19 15:27:29 +08:00
Alan Wang
49ec0d6206
fix(components): [el-input-number]set undefined to modelValue ( #4869 )
2021-12-29 14:27:23 +08:00
三咲智子
5087026948
refactor: change icon package name ( #4625 )
2021-12-04 11:20:06 +08:00
Aex
883fd8d6ef
epic: refactor icons ( #3492 )
...
* refactor(components): el-alert icon (#3441 )
* refactor(components): el-alert icon
* fix: el-alert test
* fix: [el-alert] lint error
* feat(utils): add icon util
* refactor(components): el-alert icon
* refactor(utils): icon
* test: update alert test
* refactor: remove el-icon in util
* refactor(components): el-notification icon (#3512 )
* chore: temp save changes
* refactor: update icon
* fix: var
* docs: update icon
* fix: type class error
* style: remove unused class
* fix: update icon type
* docs: update icon
* fix: update iconComponent
* refactor(components): el-dialog icon (#3505 )
* refactor(components): [el-dialog] icon
* fix: typo
* refactor: dialog icon ref
* refactor: dialog icon
* style: update close button size
* refactor(components): el-message-box icon (#3507 )
* refactor(components): message-box icon
* refactor(components): message icon
* fix: test
* refactor: update ref
* fix: test
* docs: update icon
* fix: delete unused code
* docs: update type
* fix: update close button size
* fix: type
* fix: icon type class
* fix: icon type
* fix: update type class
* refactor(components): el-popconfirm icon (#3513 )
* refactor(components): el-popconfirm icon
* fix: space styles
* docs: update example
* docs: update example for trigger event
* refactor(components): el-page-header icon (#3518 )
* refactor(components): el-page-header icon
* docs: update icon
* fix: space errors
* refactor(components): el-steps icon (#3520 )
* refactor(components): el-backtop icon (#3514 )
* refactor(components): el-backtop icon
* fix: update font size
* refactor(components): el-button icon (#3536 )
* refactor(components): el-button icon
* fix: update example
* refactor(components): el-button icon
* refactor: style simplify
Co-authored-by: imswk <syfzxx@vip.qq.com >
* refactor(components): el-tree icon (#3590 )
Co-authored-by: qianjie <qianjie@patsnap.com >
* refactor(components): el-avatar icon (#3599 )
Co-authored-by: qianjie <qianjie@patsnap.com >
* refactor(components): el-carousel icon (#3602 )
Co-authored-by: qianjie <qianjie@patsnap.com >
* refactor(components): el-progress icon (#3607 )
Co-authored-by: qianjie <qianjie@patsnap.com >
* refactor(components): el-result icon (#3609 )
Co-authored-by: qianjie <qianjie@patsnap.com >
* refactor(components): el-timeline icon (#3646 )
Co-authored-by: qianjie <qianjie@patsnap.com >
* refactor(components): el-table icon (#3611 )
Co-authored-by: qianjie <qianjie@patsnap.com >
* chore: add vue to gitignore
* fix: buildProp error
* refactor(components): el-pagination icon (#3605 )
* test: el-menu deprecated icon font (#3794 )
* test: el-loading deprecated icon font (#3795 )
* chore: Update changelog 1.1.0-beta.20 (#3838 )
* fix: about custom extension of table column (#3437 )
* refactor(components): el-autocomplete icon (#3783 )
* refactor(components): el-dropdown icon (#3517 )
* refactor(components): el-dropdown icon
* fix: arrow down icon size
* style: revert
* fix: font-size
* refactor(components): el-link icon (#3538 )
* refactor(components): el-link icon
* refactor: update example
* fix: import icons
* docs: add tip
* refactor: update link icon
* fix: icon align
* fix: typo
* refactor(components): el-select icon (#3780 )
* refactor(components): el-input icon (#3565 )
* refactor(components): input icon
* docs: update example
* refactor(components): el-select icon
* docs: icon usage
* fix: input style
* fix: add scoped
* docs: fix icon
* fix: icon align
* fix: icon align
* fix: typo
* fix: typo
* refactor(components): el-input-number icon (#3566 )
* refactor(components): el-input-number icon
* fix: icon align
* refactor(components): el-tag icon (#3793 )
* refactor(components): el-tag icon
* fix: icon align
* fix: icon margin
* refactor(components): el-switch icon (#3787 )
* refactor(components): el-switch icon
* fix: icon align
* docs: add icon usage
* refactor(components): el-collapse icon (#3788 )
* refactor(components): el-collapse icon
* docs: update icon demo
* fix: typo
* refactor(components): el-uplod icon (#3598 )
* refactor(components): el-uplod icon
* docs: update icon useage
* docs: fix icon
* docs: fix icon
* docs: update upload-filled icon
* fix: icon align
* fix: item icon align
* refactor(components): el-select-v2 icon (#3781 )
* refactor(components): el-select-v2 icon
* revert: play/main.ts
* fix: icon style
* fix: icon solt
* refactor(components): el-cascader icon (#3785 )
* refactor(components): input icon
* docs: update example
* refactor(components): el-select icon
* refactor(components): el-cascader icon
* refactor(components): el-tag icon
* fix: icon align
* fix: icon margin
* docs: icon usage
* fix: input style
* fix: add scoped
* test: remove unuesd code
* fix: cascader-panel
* fix: icon style
* fix: icon animation
* refactor(components): el-drawer icon (#3796 )
* refactor(components): el-drawer icon
* fix: close icon size
* fix: close icon align
* refactor(components): el-transfer icon (#3792 )
* refactor(components): el-transfer icon
* fix: icon align
* refactor(components): el-image-viewer icon (#3797 )
* refactor(components): el-image-view icon
* fix: icon size
* docs: update domo
* style: format vue
* fix: fullscreen icon
* Add cursor for icons
Co-authored-by: jeremywuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com >
* refactor(components): rate-icon (#3891 )
* refactor(components): el-rate icon
* docs: update example
* docs: update
* test: update
* docs: update
* fix: variable rename
* fix: demo update
* fix: allow half bug
* refactor(components): el-time-picker icon (#3834 )
* refactor(components): el-button icon
* refactor(components): date-picker icon
* refactor(components): input icon
* docs: update example
* refactor(components): el-select icon
* refactor(components): el-time-select icon
* fix: icon width
* docs: icon usage
* fix: input style
* fix: add scoped
* fix: icon size
* docs: icon display
* fix: icon in button
* docs: fix error
* refactor(components): el-time-picker icon
* fix: var
* fix: icon align
* test: delete unused code
* test: fix error
* fix: remove unused code
* docs: fix typo
* docs: update icon
* fix: default prefix icon
* fix: range picker icon align
* Update cursor for picker
Co-authored-by: jeremywuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com >
* fix(components): el-input close icon
* chore: delete fonts
* fix: copy full style
Co-authored-by: imswk <syfzxx@vip.qq.com >
Co-authored-by: bastarder <85257684@qq.com >
Co-authored-by: qianjie <qianjie@patsnap.com >
Co-authored-by: Element <wallement@gmail.com >
Co-authored-by: Alan Wang <948467222@qq.com >
Co-authored-by: jeremywuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com >
2021-10-27 23:17:13 +08:00
jeremywu
6006e910aa
refactor(components): ElInputNumber ( #3974 )
...
* refactor(components): ElInputNumber
- Rename index.vue -> input-number.vue
- Extract inputNumberProps and inputNumberEmits to input-number.ts
* Update input number docs
* Update input number docs
* Update input number docs
* Address comments
* Code perfection
* Make modelValue required field
* Fix linter
* Remove unnecessary code
* Fix linter
2021-10-22 23:28:03 +08:00
三咲智子
0636e1e240
style: add import and stricter lint ( #3440 )
...
* style: add import lint
* chore: apply eslint rules
* chore: add stricter lint
* chore: lint all files
* auto fix
* manually fix
* restore build-indices.ts
2021-09-17 15:27:31 +08:00
三咲智子
55348b30b6
style: use prettier ( #3228 )
...
* style: use prettier
* style: just prettier format, no code changes
* style: eslint fix
object-shorthand, prefer-const
* style: fix no-void
* style: no-console
2021-09-04 19:29:28 +08:00
jeremywu
b0f4fc5f23
refactor: update package path and bundle folder ( #3016 )
2021-08-24 13:36:48 +08:00