12 Commits

Author SHA1 Message Date
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