Benjy Cui
7ff7519207
fix: upgrade rc-form and refactor to be compatible with react@16
7 years ago
ddcat1115
712637907d
fix #7930
7 years ago
Mitchell Demler
298a60f13b
chore: add validateFirst to fieldDecorator options ( #7573 )
7 years ago
Bilal Sirazitdinov
5bb45279bb
chore: GetFieldDecoratorOptions missing property - normalize ( #7562 )
7 years ago
Wei Zhu
145ed77c00
fix: form type ( #7245 )
7 years ago
Randy
df934445c0
add a generic type for `FormCreateOption` ( #7119 )
7 years ago
Benjy Cui
87bfe2df87
fix: wrappedComponentRef should work, close : #6545
7 years ago
afc163
896e738fce
Fix missing semicolon
7 years ago
Randy
a0dc7d3a72
Separate getFieldDecorator options type
Taking getFieldDecorator options type out of WrappedFormUtils
7 years ago
Benjy Cui
119d498935
chore: replace http with https, close : #6893
7 years ago
paranoidjk
ba168b826f
refactor: use spread operator replace object-assign ( #6677 )
8 years ago
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