Andrey G
a307a7acf7
refactor: remove unnecessary computed props for classNames ( #4055 )
* remove unnecessary computed props for classNames
* rollback autocomplete optimization for possible css style order issue
* update snapshots
* remove more unnecessary computed props at Input
8 years ago
Wei Zhu
bd55d21f83
style: Fix jsx-no-multiline-js ( #3994 )
* Fix jsx-no-multiline-js
* TimePicker addon test
* Transfer search test
8 years ago
Wei Zhu
ccbebe60cc
style: Fix jsx alignment, #3966 ( #3967 )
8 years ago
Benjy Cui
4878258f6c
refactor: ref: #3490
8 years ago
afc163
d0a6fa47a9
Fix cascader defaultValue typo, close #3470
8 years ago
afc163
6f8f7de69e
update code style
8 years ago
afc163
4936bc3735
close autoComplete in Cascader, close #3350
8 years ago
Benjy Cui
1e0c034353
Fix cascader ( #3243 )
* docs: update demo
* fix: should show input value
8 years ago
Benjy Cui
bd7e9f00c0
style: update code style
8 years ago
Benjy Cui
59093a6586
fix: should pass prefixCls correctly
8 years ago
马斯特
a25ec29fb8
refactor: 保证所有的tsx和less都正确使用prefix ( #3024 )
* refactor: extract prefix cls as less variable
* refactor: apply ant icon prefix cls in less files
* refactor: all components support prefixCls props
8 years ago
Benjy Cui
1dac1370de
deps: replace obejct.omit with omit.js, close : #2988 ( #2994 )
8 years ago
Benjy Cui
92ab804815
feat: Cascader[showSearch] ( #2776 )
* feat: implement Cascader[showSearch] basicly
* feat: optimize Cascader[showSearch]
* feat: clear for input value
* feat: complete Cascader[showSearchf]
* docs: add docs for Cascader[search]
* fix: review
* fix: add key
* style: update code style to please lint
* refactor: update according to review
* docs: update docs
8 years ago
afc163
2e41e35cc6
Fix more tslint problems
8 years ago
偏右
de359d2cf7
fix tslint problems ( #2360 )
8 years ago
ezpub
dce99bc259
fix cascader input value error ( #2338 )
`value` prop on `input` should not be null. Consider using the empty string to clear the component or `undefined` for uncontrolled components.
8 years ago
yiminghe
94706f1d2c
fix ts
9 years ago
yiminghe
3d9ae9833e
fix form warning
9 years ago
Gray Choi
fb9a6963a3
rewrite in typescript
#1846
- [x] Carousel
- [x] Cascader
- [x] Transfer
- [x] Tree
-Tree
-checkable is boolean type, instead of assigning a ReactElement to it,
I use Ternary Operators.
9 years ago
yiminghe
9a0d751f94
refactor to typescript
9 years ago
Benjy Cui
2144349741
style: enable react/jsx-closing-bracket-location
9 years ago
afc163
159b28a7a2
Support custom label node render in Cascader, close #1726
9 years ago
afc163
67aa04eb14
fix Cascader defaultValue
9 years ago
Benjy Cui
9d95313d03
chore: suppress warning
9 years ago
afc163
0f3c3c7e5a
Fix cascader placeholder, close #1312
9 years ago
afc163
fbee9d9dd9
update code style
9 years ago
Bruce Mitchener
273e527201
Use static class members for propTypes and friends.
9 years ago
Bruce Mitchener
71594b0e5c
Remove manual binding for 'this'.
Use ES7 style class members for event handlers so that 'this' is
automatically bound and each definition site doesn't need to manually
invoke 'bind'.
This makes all existing ES2015 class usages in components use the
same mechanism for binding.
9 years ago
Bruce Mitchener
11c0a6a203
Name classes without Ant* prefix.
Where necessary, prefix the classes imported from react-component
with 'Rc' rather than prefixing the Ant classes with 'Ant'.
The prefixing of Ant classes wasn't consistent and isn't necessary
in many cases.
9 years ago
afc163
d10d92c455
Fix cascader onChange bug in IE
9 years ago
afc163
d68f36a422
fix props pass, ref #927
9 years ago
yiminghe
58a32455d3
fix cascader
9 years ago
afc163
6d7f571c1d
Add allowClear and Fix clear button in disabled mode
9 years ago
afc163
15473fbc99
support set cascader popupPlacement
9 years ago
Benjy Cui
d06935528e
feat: customized size first
9 years ago
afc163
5b3eb0e5f7
fix cascader props pass bug, close #927
9 years ago
afc163
1e001d2d82
upgrade eslint-config-airbnb
9 years ago
yiminghe
68443b61c0
fix cascader value
9 years ago
afc163
105130ddb8
Add cascader prop disabled
9 years ago
yiminghe
c8038fde32
move cascade style up
9 years ago
afc163
553fb4d05c
Add arrow style
9 years ago
afc163
d37bcfa82f
Add clear icon
9 years ago
afc163
a4a235cd67
Add prop size for cascader
9 years ago
afc163
096c7d58d1
Add cascade
9 years ago
afc163
7051b2c786
Add arrow style
9 years ago
afc163
aa27737d24
Add clear icon
9 years ago
afc163
5f0aecfd5e
Add prop size for cascader
9 years ago
afc163
20ce55933e
Add cascade
9 years ago