Benjy Cui
87bfe2df87
fix: wrappedComponentRef should work, close : #6545
2017-08-09 10:27:34 +08:00
Benjy Cui
02daedd67b
docs: add missing doc for Form, close : #6959
2017-08-08 10:10:47 +08:00
Wei Zhu
bef7db465e
Revert "Revert "Revert "feat: upgrade rc-slider, support keyboard accessibility"""
...
This reverts commit 0b8b0d2deb
.
2017-07-30 16:07:41 +08:00
Wei Zhu
0b8b0d2deb
Revert "Revert "feat: upgrade rc-slider, support keyboard accessibility""
...
This reverts commit 551807cd91
.
2017-07-30 16:06:53 +08:00
Wei Zhu
551807cd91
Revert "feat: upgrade rc-slider, support keyboard accessibility"
...
This reverts commit ef339a32ac
.
2017-07-30 16:05:37 +08:00
paranoidjk
ef339a32ac
feat: upgrade rc-slider, support keyboard accessibility
...
https://github.com/react-component/slider/pull/282
2017-07-28 14:02:45 +08:00
Benjy Cui
8e496966cf
docs: update docs for Form
2017-07-26 09:04:01 +08:00
afc163
896e738fce
Fix missing semicolon
2017-07-22 15:25:08 +08:00
偏右
c733f94c33
Merge pull request #6916 from djyde/separate-type
...
Separate getFieldDecorator options type
2017-07-22 15:16:04 +08:00
afc163
0ad85e2987
Fix #4431 again
2017-07-21 10:07:18 +08:00
Randy
a0dc7d3a72
Separate getFieldDecorator options type
...
Taking getFieldDecorator options type out of WrappedFormUtils
2017-07-20 13:20:15 +08:00
Benjy Cui
119d498935
chore: replace http with https, close : #6893
2017-07-19 14:00:11 +08:00
Benjy Cui
8cfa61f46b
test: update snapshot
2017-07-19 10:15:58 +08:00
afc163
9a85303f79
remove unneccesary size prop
2017-07-16 15:41:51 +08:00
afc163
e6554e7edb
update form document
2017-07-16 15:05:48 +08:00
Benjy Cui
2413c6af61
fix: make loading work with icon only button in button group, close : #6822
2017-07-14 15:26:55 +08:00
afc163
ca89227568
test: fix snapshot
2017-07-12 21:44:46 +08:00
afc163
4419d4c94c
Fix select extra padding, close #6723
2017-07-11 12:14:35 +08:00
afc163
01bbd5a3d3
update form dynamic demo
2017-07-11 11:59:30 +08:00
afc163
384803528f
Fix extra error outline of select in input addon
2017-07-08 16:20:01 +08:00
paranoidjk
ba168b826f
refactor: use spread operator replace object-assign ( #6677 )
2017-07-03 16:57:11 +08:00
newraina
4d002055b5
fix: TypeScript's definition of FormItemColOption ( #6611 )
2017-06-28 15:03:52 +08:00
afc163
e188036606
remove unused code
2017-06-27 14:33:35 +08:00
afc163
dbd6f29c29
Fix form item extra content line height, close #6618
2017-06-27 12:08:16 +08:00
afc163
6e583325ea
Don't impact select inside input group
2017-06-26 21:44:38 +08:00
afc163
e24a8cb5d8
Tweak inline form item margin
2017-06-26 17:05:42 +08:00
afc163
5964e42a9b
tweak form label style
2017-06-26 11:51:41 +08:00
afc163
9f78e71c65
Fix select vertical issue inside input addon
2017-06-25 17:22:07 +08:00
afc163
7dafa985c5
remove colon block of vertical form
2017-06-25 16:48:01 +08:00
Benjy Cui
82d1957941
docs: update demo for: #6503
2017-06-19 11:25:30 +08:00
afc163
d7a29f682b
upgrade Col span format in demo
2017-06-15 15:34:47 +08:00
afc163
4f874c5065
improve demo code
2017-06-09 21:24:40 +08:00
Benjy Cui
4ee2194b45
deps: upgrade rc-notification
2017-06-09 10:17:30 +08:00
afc163
d086ee253e
update snapshots for #6347
2017-06-03 01:38:26 +08:00
afc163
9bb7ec0b87
update form demo snapshot
2017-06-01 17:58:06 +08:00
afc163
becb888f6e
Fix form demo, close #6323
2017-06-01 17:56:05 +08:00
slientcloud
e43c8012ad
chore: support slider aira ( #6301 )
2017-06-01 12:08:39 +08:00
Leo
f4312895d6
chore: componentDecorator return specific type instead of any ( #6308 )
2017-06-01 09:25:32 +08:00
afc163
2cde334cd5
update snapshot
2017-05-28 15:30:43 +08:00
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
2017-05-26 09:16:53 +08:00
mitchell.demler
64befeda32
Add ValidationRule type for getFieldDecorator validation rules
...
Copied types from english documentation. (these might need checking?)
2017-05-22 15:57:09 +12:00
Benjy Cui
4b8a291684
fix: broken style of Cascader in Input.Group ( #6208 )
...
* fix: broken hover style of Cascader, close : #6202
* test: update snapshot
2017-05-22 10:09:17 +08:00
afc163
8703145d70
Fix prop-types and createClass warning, #5678
2017-05-18 14:22:47 +08:00
afc163
c6ec1ce9bb
use create-react-class, ref #5678
2017-05-17 18:01:53 +08:00
Benjy Cui
a9a8f68578
docs: update demo
2017-05-15 17:33:47 +08:00
ddcat1115
0b9ff23661
docs: add dynamic-rule form demo ( #6035 )
2017-05-15 17:25:50 +08:00
Benjy Cui
11626decfe
chore: update docs for Form.Item and fix edge case, close : #6113
2017-05-15 11:31:48 +08:00
afc163
9089674a6f
Fix form item layout bug when zoom out, close #6097
2017-05-11 21:10:30 +08:00
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
2017-05-09 13:40:33 +08:00
Benjy Cui
0d672d5c2d
test: fix CI
2017-05-05 14:47:37 +08:00
kossel
169e0f9762
fix: issue 5834, autocomplete is not being decorated ( #6018 )
2017-05-05 14:40:57 +08:00
MeiLin
01a75428d6
docs: fix typo ( #5980 )
2017-05-02 09:29:57 +08:00
乐仪
5dfe86e891
fix snap
2017-04-24 17:08:56 +08:00
Graeme Yeates
297412b57c
Add a less variable to opt out of form item colons
2017-04-21 14:34:56 -04:00
afc163
03e9a97e2b
typo
2017-04-16 00:03:47 +08:00
Manjit Kumar
4e055ed5d0
use PropTypes from 'prop-types' mdoule instead of React
...
- as React.PropTypes is being deprecated
- Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
- Solution: https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes
2017-04-12 02:22:05 +05:30
Wei Zhu
5ddd7f847f
docs: Document customized form control
...
Related: #5700
2017-04-10 22:42:56 +08:00
afc163
0dc2c1771f
fix snapshot
2017-04-05 14:59:56 +08:00
Kenaniah Cerny
ed434c57e9
improves link navigation
2017-04-01 04:06:34 -07:00
Benjy Cui
ce2fe2aa45
test: add test for Modal[footer=null]
2017-03-30 16:06:03 +08:00
Wei Zhu
b8fca87461
Fix some form type definition issues ( #5560 )
...
Close #5515
2017-03-30 13:46:38 +08:00
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
2017-03-29 09:36:54 +08:00
afc163
a19845c1bb
fix tslint
2017-03-24 11:56:18 +08:00
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
2017-03-24 11:43:38 +08:00
William Yang
6b8eeb79d1
fix: #5456(Cannot display feed back icon and prefix icon together) ( #5457 )
...
* fix #5456
* remove demo and set z-index to 1
2017-03-24 09:59:31 +08:00
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
...
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
2017-03-23 21:15:49 +08:00
afc163
93ec71ea58
fix whitespace required, close #5418
2017-03-21 15:21:40 +08:00
Benjy Cui
36a7ffc0d6
fix: Switch should not warning with size=large, close : #5368
2017-03-20 16:08:24 +08:00
afc163
240a93cee2
Fix mention active style
2017-03-19 01:29:21 +08:00
Qingrong Ke
8afc2e9e95
Fix 5322 ( #5379 )
...
* Input: fix #5322
* Refactor preSuffix to affix
* Update tests and demos
* Refactor preSuffix to affix
2017-03-18 21:26:42 +08:00
Wei Zhu
f6b1e942e3
Jest 19 ( #5361 )
...
* Upgeade to jest 19
* Use jest.spyOn
2017-03-17 18:56:30 +08:00
Benjy Cui
be13831d92
Fix upload ( #5358 )
...
* docs: add demo to re-produce bug
* fix: dragger should work with form decorator, close : #5334
* test: update snapshot
2017-03-17 11:47:05 +08:00
Benjy Cui
aa4606cd9f
feat: make Form.Item work with responsive layout, ref: #5296 ( #5306 )
2017-03-15 11:25:58 +08:00
afc163
a5b47f9e49
update form docs
2017-03-10 19:26:43 +08:00
afc163
a0cdce4d00
fix test case
2017-03-10 19:22:18 +08:00
Benjy Cui
228e9c0747
fix: remove Form auto-responsive layout ( #5253 )
...
* fix: remove Form auto-responsive layout
* test: update snapshot
2017-03-10 19:19:36 +08:00
afc163
6bca3ba87f
clean up document
2017-03-07 22:38:01 +08:00
afc163
cd2c027d89
docs: Add API document for Form validation rule
...
close #5201 , ref #5155
2017-03-07 22:35:45 +08:00
afc163
a7a4d672f5
update form login demo, close #5172
2017-03-06 15:15:50 +08:00
Wei Zhu
67bbae9ea8
Merge branch 'feature-2.8'
2017-03-05 21:34:57 +08:00
afc163
06d351f968
fix warning in test case
2017-03-02 14:14:34 +08:00
feng zhi hao
dab5f3547d
chore: improve ts definition of Form ( #5134 )
2017-03-02 10:53:47 +08:00
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
2017-03-02 10:49:06 +08:00
Kyle Rosenberg
aa84b826c1
chore: Added missing getFieldsError in WrappedFormUtils ( #5133 )
2017-03-02 09:33:46 +08:00
afc163
ea7dc3e56c
update docs
2017-03-01 18:44:59 +08:00
afc163
a7a2c54fa8
fix snap
2017-03-01 14:46:44 +08:00
Yogesh
0675acc3ef
Typo/grammar change ( #5117 )
2017-03-01 12:45:24 +08:00
feng zhi hao
4019ef4b0c
chore: fix hideRequiredMark ts definition of Form ( #5112 )
2017-03-01 09:13:26 +08:00
Benjy Cui
758559f718
test: update snapshots
2017-02-28 16:14:53 +08:00
Eden Wang
445c940af4
docs: Change Password Blur from password to confirm ( #5076 )
...
* Change Password Blur from password to confirm
If you type check password, then type password, the validation won't be changed
* rename variables and functions name
rename handlePasswordBlur to handleConfirmBlur
rename passwordDirty to confirmDirty
2017-02-28 11:30:04 +08:00
Benjy Cui
8b539c4971
chore: update type definition
2017-02-27 10:20:46 +08:00
afc163
a9599b802c
when labelCol is 24, it is a vertical form
2017-02-26 18:09:41 +08:00
afc163
cf4ad5ddb8
fix test case
2017-02-26 00:23:46 +08:00
afc163
511db23fcd
Add default title for form item label
2017-02-25 18:48:44 +08:00
afc163
68fde63ef7
refactor renderLabel
2017-02-25 18:47:40 +08:00
afc163
0f46eed370
fix lint
2017-02-23 11:45:48 +08:00
afc163
7181e3c9e8
revert d9ec4bf
and ef0b708
, close #4997
2017-02-22 16:50:24 +08:00
Benjy Cui
e4d9e5af54
test: update snapshot
2017-02-22 15:52:43 +08:00
feng zhi hao
62e80928d5
docs: rewrite Form demos to ES6 component ( #4949 )
2017-02-20 11:50:57 +08:00
afc163
3308bce9b9
fix snapshot test
2017-02-20 11:36:57 +08:00
afc163
28dbdd17ed
fix for #4920
2017-02-17 14:11:10 +08:00
Benjy Cui
56995e2089
test: update snapshot
2017-02-17 13:59:13 +08:00
Cordaro
168c576d4a
docs: fix getFieldDecorator param ( #4896 )
...
close #4894
2017-02-15 22:58:24 +08:00
afc163
588dd3033f
docs: update for customizing validation
2017-02-15 14:41:16 +08:00
afc163
c86d9f1abc
Make form control height follow large input height
2017-02-15 11:19:16 +08:00
zilong
597e020a45
chore: add class ant-form-item-control-wrapper for formItem wrapper ( #4856 )
2017-02-14 10:46:54 +08:00
zollero
e7cb0aa95d
docs: fix typo ( #4855 )
...
修改一个错别字:“通” --》 “同”
2017-02-14 10:43:11 +08:00
Benjy Cui
184c4f5af7
docs: update docs for Form, ref: #4093
2017-02-14 10:29:06 +08:00
Benjy Cui
200b88246f
docs: update docs format
2017-02-13 10:55:53 +08:00
Benjy Cui
c88cdc60ce
docs: update docs for form, close : #4802
2017-02-09 14:50:25 +08:00
zhenzong
fdaf15d16c
fix issue #4783 ( #4788 )
2017-02-09 11:09:22 +08:00
Benjy Cui
9ed06dea8a
docs: remove outdated warning, ref: #4783
2017-02-08 09:40:25 +08:00
zerob4wl
a39d435925
Update without-form-create.md ( #4781 )
...
typo
2017-02-07 21:38:14 +08:00
afc163
0eb5c689a3
remove type="ghost" from demo
2017-02-04 22:35:33 +08:00
Graeme Yeates
1006015ef0
Add border customization variables ( #4734 )
...
* Add border customization variables (#4712 )
* Make border styles customizable (fixes #4712 )
2017-01-31 16:05:10 +08:00
afc163
f2bb4afd4d
Merge from master
2017-01-27 17:23:51 +08:00
Penghan Wang
8a412ae260
doc: improve document for Form validateFields ( #4730 )
2017-01-27 10:39:09 +08:00
Wei Zhu
77b78a9389
docs: Unify type naming ( #4636 )
...
* Unify name of ReactNode type in document
* Lowser all string type name
* Lowercase all number type name
* Lowercase all boolean type name
* Unify array type
* Lowercase all object type name
* Unify mutilple types
2017-01-20 20:10:50 +08:00
afc163
35523be6e9
Merge from master
2017-01-20 18:28:09 +08:00
Benjy Cui
3e17551b7e
site: improve build speed
2017-01-19 15:22:53 +08:00
afc163
8f57451d8c
fix snap test for cascader upgrade
2017-01-17 13:45:26 +08:00
afc163
abd264ebf0
fix test case name
2017-01-15 14:37:22 +08:00
afc163
fd6fc86b21
improve form validating style
2017-01-14 20:59:37 +08:00
偏右
6e3565b983
Add Form[hideRequiredMark] ( #4500 )
...
* Add Form[hideRequiredMark]
* omit hideRequiredMark
* Add test case for Form[hideRequiredMark]
2017-01-13 21:52:48 +08:00
偏右
3423d27493
When form layout is vertical, keep the colon inside label, close #4593 ( #4599 )
2017-01-13 21:12:31 +08:00
Hans Chan
3d58a3f608
docs: add property colon
for Form.Item ( #4505 )
...
* docs: 修改错别字
* docs: add property `colon` for Form.Item
`colon` is available since 2.0.0-beta.1
2017-01-13 19:03:59 +08:00
Hans Chan
927581bb84
docs: add property colon
for Form.Item ( #4505 )
...
* docs: 修改错别字
* docs: add property `colon` for Form.Item
`colon` is available since 2.0.0-beta.1
2017-01-13 18:05:24 +08:00
Benjy Cui
eeae03d681
docs: remove useless code
2017-01-13 15:14:06 +08:00
Tao Zhang
477fde8b7f
docs: Updated form description ( #4574 )
2017-01-12 09:09:59 +08:00
afc163
4654db312f
Fix some lesshint problems
2017-01-11 21:45:09 +08:00
Benjy Cui
3fa5d10da3
Merge branch 'master' into feature-2.7
2017-01-10 10:50:40 +08:00
wallverb
a47c200f7c
Fix validateTrigger type ( #4536 )
...
* Update validateTrigger type
* Update validateTrigger doc for en-US
* Update validateTrigger doc for zh-CN
2017-01-09 21:20:40 +08:00
Benjy Cui
5fd3baaff0
docs: update outdated docs
2017-01-09 18:00:30 +08:00
Benjy Cui
f436b5c2f4
deps: upgrade rc-form, close : #4374
2017-01-09 17:40:01 +08:00
Hans Chan
ef6c19e97b
docs: add property colon
for Form.Item ( #4505 )
...
* docs: 修改错别字
* docs: add property `colon` for Form.Item
`colon` is available since 2.0.0-beta.1
2017-01-09 11:03:35 +08:00
afc163
0187384445
refactor for code style
2017-01-06 01:33:09 +08:00
afc163
e2b8aee202
fix snapshot
2017-01-05 17:24:14 +08:00
afc163
657c707a79
Hide useless prop Form[horizontal]
2017-01-05 16:57:41 +08:00
afc163
53371dfe3e
Add plain text form item in demo, close #4465
2017-01-05 16:40:21 +08:00
afc163
9df1eb91db
Add form layout demo and fix vertical form style
2017-01-05 16:32:50 +08:00
afc163
fb6858c3cc
Fix hasFeedback and Select style detail for #4436
2017-01-01 17:39:27 +08:00
Jesper We
d258ace146
Fix #4431 Overlapping graphics with<Select> in <Form.Item ... hasFeedback={true} ( #4436 )
2017-01-01 17:20:08 +08:00
偏右
e4bee3425a
Upgrade rc form ( #4430 )
...
* support nested form item name by upgrade rc-form
react-component/form#48
* Fix dynamic form demo
2016-12-31 23:47:07 +08:00
afc163
d570d03698
improve document for Form setFields, close #4370
2016-12-27 21:14:00 +08:00
Edd Hannay
8382023409
docs: fix typo in Form demo ( #4313 )
...
- Rename checkPassowrd function checkPassword
2016-12-20 20:28:44 +08:00
afc163
e1d73eb424
update form documentation
2016-12-18 14:54:12 +08:00
afc163
48de73b721
Fix a FormItem mis-align bug, close #4271
2016-12-16 20:24:50 +08:00
Pierre
827aa2f94c
style: remove hardcoded inputs height ( #4175 )
...
* remove hardcoded inputs height
* revert pagination input height
* revert pagination input heights bis
2016-12-15 11:17:09 +08:00
Wei Zhu
07103b9fb6
Don't ignore test files.
2016-12-14 14:48:09 +08:00
Wei Zhu
17a0a33283
Restructure tests.
2016-12-14 14:41:39 +08:00