25 Commits

Author SHA1 Message Date
db680e4dd0 fix(components): [checkbox-group] dynamic prop-value cause ivalidate loop (#21309)
* fix(components): [checkbox-group]

fix  el-checkbox-group in el-form-item with dynamic prop cause infinite update loop

closed #21305

* chore: fix lint

---------

Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-07-15 00:06:21 +08:00
35b4240600 fix(components): [checkbox] default false if no false-value attr (#18187)
* fix(components): [checkbox] default false if no false-value attr

closed #18186

* test(components): [checkbox] add test case

closed #18186
2024-09-21 10:36:23 +08:00
29ae802fae chore(components): fix test warning (#16688) 2024-04-28 14:56:16 +08:00
d2b8633f98 fix(components): [checkbox] fix true-value and false-value (#16051)
* fix(components): [checkbox] fix true-value and false-value

closed #16049

* fix(components): update test
2024-03-06 16:51:20 +08:00
3ca4473aeb feat(components): [checkbox & radio] Use value instead of label act as value (#15525)
* feat(components): [checkbox & radio] Use value instead of label

* feat(components): update

* feat(components): update

* feat(components): update

* feat(components): update

* feat(components): update

* feat(components): update test

* feat(components): true-value false-value

* feat(components): update
2024-02-28 12:48:07 +08:00
01c99477a6 feat(components): [checkbox] Checkbox can uncheck exceed max value (#15513)
* feat(components): [checkbox] Checkbox can uncheck exceed max value

closed #15494

* feat(components): add test
2024-01-16 16:35:57 +08:00
e32cef1d1b refactor(components): [checkbox] set the label default value to undefined (#14011)
* fix(components): [checkbox] allow the label value to be number 0

* fix: update computed

* test: add test case

* fix: update
2023-10-11 15:00:09 +08:00
4b0db5d8a1 fix(components): [checkbox] wrong checked status when label is Object (#9863)
* fix(components): [checkbox] wrong checked status when label is Object

* fix(components): [checkbox] add unit test for label is object

* fix(components): [checkbox] add unit test for label is object

Co-authored-by: init-qy <953218204@qq.com>
2022-11-10 12:10:18 +08:00
7641f2455c fix(components): the label causes the click event to trigger twice (#9991)
Co-authored-by: qiang <itaco@qq.com>
2022-10-10 19:30:00 +08:00
zz
0cabd42412 refactor(components): [checkbox] use JSX in Unit test (#9009) 2022-07-25 22:28:08 +09:00
44f48c65af fix(components): [checkbox] fix type error (#8937)
* fix(components): [checkbox] fix type error

* fix(components): [checkbox] fix type error
2022-07-25 20:40:07 +09:00
7097940f4a refactor: add ts-nocheck and check all files (#8401) 2022-06-22 08:04:42 +08:00
18891d79e9 test(components): [checkbox] add data type (#8077) 2022-06-03 22:41:26 +08:00
Xc
d96470f9d2 refactor(components): [checkbox] switch to script-setup syntax (#7794)
* refactor: checkbox switch to script-setup syntax

* refactor: checkbox use useSizeProps and edit test
2022-05-20 15:35:02 +08:00
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
1d13ebb05d feat: drop jest (#7248)
* feat: drop jest

* test: remove ssr

* test: rename

* chore: update tsconfig
2022-04-19 16:51:44 +08:00
de0ee53cf0 test(components): switch all components to vitest (#7205)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-04-19 12:46:57 +08:00
a34ad9c53d fix(components): [el-checkbox] is-disabled class is added unexpectedly
- Fix the regression error which cause non-grouped chekcbox has unexpected `is-disabled` class
2022-01-25 11:51:43 +08:00
369aee6292 feat(components): [ElCheckboxGroup] add Fragment (#4743) 2021-12-28 08:51:44 +08:00
1d0d0053fc fix: [el-checkbox-group]: default value adjusted to empty array (#4316)
fix #4300
2021-12-21 14:38:54 +08:00
4560adfdf8 refactor(style): adjust component size to large/default/small (#4491)
* refactor(style): adjust component size to large/default/small

* refactor(components): avatar size & use flex instead of block

* refactor(components): adjust check button size

* refactor(components): adjust tag size

* refactor(components): adjust size doc

* fix(components): datetime-picker demo style width

* refactor(components): color-picker size & block to flex

* refactor(components): adjust slider input size

* refactor(components): adjust radio input size for demo

* refactor(components): adjust select size & docs

* refactor(components): adjust form radio size & docs

* refactor(components): add windicss for docs

* refactor(components): adjust skeleton avatar size to css var

* refactor(components): simplify typography size demo

* refactor(components): adjust dropdown size & demo

* refactor(components): adjust descriptions size

* fix(components): datetime-picker showcase class pollute global button

* chore(ci): upgrade docs dependencies to fix ci

* fix(ci): add highlight because vitepress not export it

* fix(ci): disable line for no-console

* fix(ci): remove mini to fix test

* fix(style): code font size

* fix(style): button span flex style

* fix(style): button padding horizontal default 15px

* refactor(components): adjust tag padding size & demo

* refactor(components): adjust form line-height for input

* refactor(components): adjust dropdown menu size & button padding

* fix(style): picker separator block to flex center

* fix: dropdown button span items-center

* style: adjust input-with-icon & size demo & fix input vitepress load

* chore: upgrade dependencies

* chore: upgrade dependencies

* ci: fix website build

* ci: regenerate pnpm-lock.yaml

* ci: use dev pnpm-lock

* ci: update pnpm-lock.yaml
2021-12-12 17:54:21 +08:00
94c404b12a fix(checkbox): fix checkbox when modelvalue length less than min limit (#1745)
* fix(checkbox): fix checkbox when modelvalue length less than min limit

* fix

* fix something wrong while handling conflict
2021-10-30 21:30:52 +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
b0f4fc5f23 refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00