偏右
ad99b4322d
test: ✅ Add eslint-plugin-jest ( #15825 )
6 years ago
杨小事er
668c330cae
fix(radio): delete unnecessary onChange ( #14984 )
* fix(radio): delete unnecessary onChange
* fix(radio): fix multi trigger
6 years ago
ztplz
18332d8e76
FIx RadioButton cause RadioGroup onChange event trigger twice ( #14523 )
fix #14485
6 years ago
ztplz
2d5b625177
Fix the bug that radio onchange will be ovrride by radioGroup onchange ( #14364 )
* Fix the bug that radio onchange will be ovrride by radioGroup onchange
* Update
* Remove unused comment
* Add tests
* Update
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
Basic support prefixCls.
6 years ago
afc163
3eee357bfb
Add buttonStyle(outline|solid) for RadioGroup
7 years ago
Wei Zhu
7ee2eca848
Pass CheckboxGroup/RadioGroup prefixCls down to children ( #10002 )
Close #9950
7 years ago
niko
f2ba99978d
upgrade snapshots ( #9127 )
7 years ago
Wei Zhu
9678d3fcfd
Focus && blur support ( #8204 )
* Add test for select
* Add focus() and blur() for AutoComplete
* Add focus() and blur() to Cascader
* Add focus test for input
* Add focus() and blur() for Checkbox
* Add focus() and blur() for Radio
* Add focus() and blur() for Switch
* Add blur() for TimePicker
* Add focus() and blur() to TreeSelect
7 years ago
Wei Zhu
c5487ad1eb
React 16 + Enzyme 3
7 years ago
Randy
e4c5ab9c69
Radiogroup with `name` ( #7009 )
* Add a name property for RadioGroup
* Add document for RadioGroup's name property
* Add test case for RadioGroup name property
7 years ago
Benjy Cui
eb9e19be1f
feat: make Checkbox work in Checkbox.Group, close : #5645 ( #5714 )
* refactor: simplify Radio's code
* feat: make Checkbox work in Checkbox.Group, close : #5645
* test: add snapshot
8 years ago
afc163
139eedf87c
update radio group demo
8 years ago
Wei Zhu
1a8e738142
Set snapshotSerializers
8 years ago
afc163
0bfb35c562
fix snapshot
8 years ago
黄子毅
0648172973
fix jslint ( #5514 )
8 years ago
Wei Zhu
f6b1e942e3
Jest 19 ( #5361 )
* Upgeade to jest 19
* Use jest.spyOn
8 years ago
Benjy Cui
15c3656a6d
test: update test for Radio className
8 years ago
Benjy Cui
4579d8c419
fix: should not generate className twice, close : #5295
8 years ago
Benjy Cui
758559f718
test: update snapshots
8 years ago
Wei Zhu
f6c0e69af5
cleanup npm scripts ( #4499 )
* Cleanup npm scripts
* Lint fix
* Don't need ignore js files
* Upgrade jest
* Add components index.tsx test
8 years ago
Rex
ca8e88971a
fix: callback is triggered only when the value changes ( #4278 )
* callback is triggered only when the value changes
* optimize lastValue assignment
8 years ago
Wei Zhu
07103b9fb6
Don't ignore test files.
8 years ago
Wei Zhu
17a0a33283
Restructure tests.
8 years ago