Leo
f4312895d6
chore: componentDecorator return specific type instead of any ( #6308 )
8 years ago
Jordan Hornblow
720a3d30b4
fix: Form and Mention TypeScript definition ( #6268 )
* Add source and options params to Form.ValidationRule.validator function
As per rules section of async-validation readme: https://github.com/yiminghe/async-validator#rules
* Make prefixCls optional in MentionProps interface
8 years ago
mitchell.demler
64befeda32
Add ValidationRule type for getFieldDecorator validation rules
Copied types from english documentation. (these might need checking?)
8 years ago
afc163
c6ec1ce9bb
use create-react-class, ref #5678
8 years ago
Tyler
919cb22eb7
Use the prop-types package from npm instead of React.PropTypes ( #6057 )
* Use the prop-types package from npm instead of React.PropTypes
* Remove using of PropTypes from React in docs and site
8 years ago
Wei Zhu
b8fca87461
Fix some form type definition issues ( #5560 )
Close #5515
8 years ago
Kyle Rosenberg
84baa310e2
fix: isFieldTouched and isFieldsTouched types to WrappedFormUtils ( #5537 )
* Added missing getFieldsError in WrappedFormUtils
* Added isFieldTouched and isFieldsTouched types to WrappedFormUtils interface in Form.tsx
8 years ago
afc163
d0114d8d9f
fix tslint
8 years ago
feng zhi hao
18fced672a
chore: improve Form.create ts definition of Form ( #5420 )
* improve Form.create ts definition of Form
* use function<T>() instead of arrow function
8 years ago
偏右
0308138974
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
afc163
a19845c1bb
fix tslint
8 years ago
feng zhi hao
637d9243ea
chore: improve Form.create ts definition of Form ( #5420 )
* improve Form.create ts definition of Form
* use function<T>() instead of arrow function
8 years ago
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
feng zhi hao
dab5f3547d
chore: improve ts definition of Form ( #5134 )
8 years ago
Benjy Cui
fb8f90c102
feat: form ( #5063 )
* feat: support Form[layout], close : #5056
* feat: Form should be responsive, close : #5055
* test: update snapshot
* fix: resolve conflict betwen layout defaultValue and inline & vertical
8 years ago
Kyle Rosenberg
aa84b826c1
chore: Added missing getFieldsError in WrappedFormUtils ( #5133 )
8 years ago
feng zhi hao
4019ef4b0c
chore: fix hideRequiredMark ts definition of Form ( #5112 )
8 years ago
偏右
6e3565b983
Add Form[hideRequiredMark] ( #4500 )
* Add Form[hideRequiredMark]
* omit hideRequiredMark
* Add test case for Form[hideRequiredMark]
8 years ago
偏右
3423d27493
When form layout is vertical, keep the colon inside label, close #4593 ( #4599 )
8 years ago
wallverb
a47c200f7c
Fix validateTrigger type ( #4536 )
* Update validateTrigger type
* Update validateTrigger doc for en-US
* Update validateTrigger doc for zh-CN
8 years ago
Benjy Cui
c4d8c4770c
Add upgrade warning ( #4028 )
* chore: add upgrade warning for time related value
* chore: update warning
* chore: update demo url
8 years ago
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
Benjy Cui
5782253a0f
fix: infinite loop, ref: #3759
8 years ago
Benjy Cui
60ecb3c628
refactor: each message should warn just once
8 years ago
Wei Zhu
f8d2aeefc3
refactor: Replace react-addons-pure-render-mixin with rc-util/lib/PureRenderMixin ( #3627 )
8 years ago
Benjy Cui
4878258f6c
refactor: ref: #3490
8 years ago
Benjy Cui
3c99097bc8
fix: allow override fileNameProp, close : #3497
8 years ago
yiminghe
8afe3965c1
upgrade ts 2.0
8 years ago
yiminghe
58e0228e86
optimize getFieldProps warning
8 years ago
Albert Zheng
23dd825afd
【Please review】Fixes for supporting TypeScript 2.0.3 ( #3439 )
* Fixes for supporting TypeScript 2.0.3
* Fixes for supporting TypeScript 2.0.3. Issue is #3358
8 years ago
Benjy Cui
bd7e9f00c0
style: update code style
8 years ago
feng zhi hao
a4be70334d
chore: fix some error declaration ( #3099 )
8 years ago
feng zhi hao
2cf5dc0046
chore: improve declaration ( #3078 )
8 years ago
feng zhi hao
7a7395329b
chore: 完善Form组件的声明 ( #3043 )
8 years ago
Benjy Cui
37e8474714
fix: `withRef` should work, close : #2843 ( #2992 )
8 years ago
Benjy Cui
8db2b79505
chore: fix compile errors
8 years ago
Benjy Cui
1dac1370de
deps: replace obejct.omit with omit.js, close : #2988 ( #2994 )
8 years ago
Benjy Cui
5a4ebe535f
deps: update rc-form and form's docs ( #2873 )
8 years ago
afc163
363f610d8b
Fix tsc errors beside DatePicker
8 years ago
Benjy Cui
5dcce12c2c
fix: some tsc errors ( #2804 )
8 years ago
Benjy Cui
4e0ae95e1e
chore: export form's interface
8 years ago
陆离
ff765002fa
refactor: rewrite form and dropdown in ts ( #2683 )
8 years ago
Benjy Cui
7d9585377e
feat: Form[vertical], close : #2449
8 years ago
Marius Ileana
40498e7f01
chore: small typo to form / Form.tsx ( #2576 )
8 years ago
偏右
de359d2cf7
fix tslint problems ( #2360 )
8 years ago
yiminghe
94706f1d2c
fix ts
9 years ago
yiminghe
9a0d751f94
refactor to typescript
9 years ago
偏右
09db9f2436
Revert "Remove react-addons-pure-render-mixin, use rc-util's PureRenderMixin instead" ( #2074 )
9 years ago
Leon Shi
0f8855dff7
remove react-addons-pure-render-mixin, use rc-util's PureRenderMixin instead ( #2055 )
9 years ago
Benjy Cui
6c6496fae4
refactor: improve Form re-render performance
9 years ago