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
afc163
303fc113c2
Add coordinated form demo
2016-12-13 13:28:16 +08:00
afc163
5815ce514a
Add Radio in form demo, close #3910
2016-12-04 16:19:55 +08:00
Benjy Cui
c4d8c4770c
Add upgrade warning ( #4028 )
...
* chore: add upgrade warning for time related value
* chore: update warning
* chore: update demo url
2016-12-02 15:07:33 +08:00
Benjy Cui
01dbcbe4af
css: should not reset fieldset style, close : #4090
2016-12-01 16:46:05 +08:00
Benjy Cui
75c09cb481
css: Form.Item[extra] should be block, close : #4089
2016-12-01 11:25:34 +08:00
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
2016-11-30 10:20:23 +08:00
afc163
7d75f6e3de
Fix focus style of Form Controls, close #4035
2016-11-28 19:01:14 +08:00
afc163
2260701865
improve demo detail
2016-11-23 20:17:44 +08:00
Benjy Cui
f250bdcc98
docs: update demo for form
2016-11-21 18:29:36 +08:00
afc163
34f353deb0
update form API doc
2016-11-21 14:28:20 +08:00
afc163
33ad640b0f
feedback icon should not affect user operation ( #3891 )
2016-11-17 17:33:00 +08:00
Bruce Mitchener
36508ffabd
Typo fixes.
2016-11-16 20:33:37 +07:00
afc163
4f7eff39fd
fix error controls style
2016-11-16 20:13:00 +08:00
afc163
0d63e5f6b5
Fix select[combobox] vertical align, close #3855
2016-11-15 21:54:22 +08:00
afc163
be9ed0388c
Fix form controls focused error style
2016-11-11 15:08:02 +08:00
Benjy Cui
e7cf2a4f3f
docs: update demos for Form, close : #3558
2016-11-10 16:11:22 +08:00
afc163
88d470220b
Fix wrong error style for Form Validation
2016-11-09 22:25:39 +08:00
afc163
51dae474cc
fix form demo align
2016-11-09 22:12:21 +08:00
ddcat1115
0baef0627e
docs: 调整组件导航结构 ( #3758 )
...
- Layout 更名为 Grid
2016-11-09 14:43:32 +08:00
Benjy Cui
4d2bdfd93d
docs: update docs for form
2016-11-09 10:16:36 +08:00
afc163
0ec4276eab
@font-size-lg ( #1752 )
2016-11-08 21:07:01 +08:00
afc163
0a48c62dcb
use @text-color
2016-11-08 20:50:59 +08:00
afc163
9b81fe86d9
clear less variables and add @text-color-secondary
2016-11-08 20:48:03 +08:00
Benjy Cui
5782253a0f
fix: infinite loop, ref: #3759
2016-11-08 16:22:36 +08:00
Benjy Cui
9360c02129
docs: update docs about resetFields, close : #3746
2016-11-07 11:55:58 +08:00
afc163
d0c34380d4
simplify form demo code
2016-11-02 18:08:48 +08:00
Benjy Cui
59805843e5
docs: merge mix demo into validate-other
2016-11-02 12:13:52 +08:00
Benjy Cui
d198c63a68
docs: update demo, close : #3673
2016-11-02 11:42:12 +08:00
Benjy Cui
7372893b8e
docs: add demo for without Form.create, ref: #3594
2016-11-02 11:24:52 +08:00
Benjy Cui
1eb3d68656
docs: simplify demo
2016-11-02 10:47:50 +08:00
afc163
f40ba76ba7
Merge branch 'master' of github.com:ant-design/ant-design
2016-11-01 16:11:43 +08:00
afc163
7e73725c68
update form demo
2016-11-01 16:11:06 +08:00
Benjy Cui
29a732e3a9
docs: fix typo, close : #3672
2016-11-01 15:30:02 +08:00
Benjy Cui
60ecb3c628
refactor: each message should warn just once
2016-11-01 11:10:11 +08:00
Benjy Cui
048e3c9246
docs: update demo for time-relate controls
2016-11-01 10:11:02 +08:00
Benjy Cui
4b5353b457
docs: add demo for mapPropsToFields, close : #3493
2016-10-31 16:33:25 +08:00
Benjy Cui
037d739fa4
docs: update demo order
2016-10-31 15:42:57 +08:00
Benjy Cui
49e5bfa7ca
docs: add demo for customized form control, close : #3585 , ref: #3594
2016-10-31 15:03:48 +08:00
feng zhi hao
edb41f4420
update types in Tabs and FormItem ( #3653 )
...
* update types in Tabs and FormItem
* remove children prop in FormItem and Tabs
2016-10-31 13:15:13 +08:00
Benjy Cui
a7d335ec7a
docs: update docs detail
2016-10-30 12:43:59 +08:00
Benjy Cui
2cb147f96d
docs: should not expose prefixCls to developer
2016-10-30 10:40:33 +08:00
Wei Zhu
f8d2aeefc3
refactor: Replace react-addons-pure-render-mixin with rc-util/lib/PureRenderMixin ( #3627 )
2016-10-28 13:56:23 +08:00
Benjy Cui
52e3511192
docs: add demo for using time-related in form, close : #3610
2016-10-28 11:30:25 +08:00
Benjy Cui
d57827f87c
fix: empty string should be treat as inexisting, close : #3613
2016-10-28 10:50:55 +08:00
Benjy Cui
7860d74725
docs: update advance search form demo, ref: #3558
2016-10-27 17:14:53 +08:00
Benjy Cui
55c22a7232
fix: style bug in slider
2016-10-27 11:57:46 +08:00
Benjy Cui
835dc2fb52
docs: update form in modal demo, ref: #3594
2016-10-27 11:44:45 +08:00
Benjy Cui
6bf99c1819
docs: update advanced search demo, ref: #3594
2016-10-27 10:26:12 +08:00
Benjy Cui
6cd841ef31
docs: add demo for registration, ref: #3594
2016-10-27 09:45:53 +08:00
Benjy Cui
7b76906924
docs: add normal login form, ref: #3594
2016-10-26 17:15:30 +08:00
Benjy Cui
3c49a90980
docs: update demo, ref: #3594
2016-10-26 16:42:57 +08:00
Benjy Cui
f599a24228
docs: update demo style
2016-10-26 15:33:45 +08:00
Benjy Cui
4878258f6c
refactor: ref: #3490
2016-10-24 12:04:26 +08:00
Benjy Cui
6343e6b763
docs: update demo
2016-10-21 15:18:13 +08:00
Benjy Cui
1ed434a695
fix: should support Input[addon] in Form[inline], close : #3524
2016-10-21 15:04:55 +08:00
Benjy Cui
0aca663092
fix: should throw warning only once, ref: #3491
2016-10-21 11:17:59 +08:00
Benjy Cui
d5edcb9ef0
feat: support deep-level form control, close : #3212 ( #3491 )
2016-10-20 16:24:48 +08:00
Benjy Cui
3c99097bc8
fix: allow override fileNameProp, close : #3497
2016-10-20 11:28:05 +08:00
yiminghe
8afe3965c1
upgrade ts 2.0
2016-10-19 17:52:23 +08:00
afc163
9fe859a31f
typo #3473
2016-10-19 11:29:14 +08:00
afc163
55c2223366
update form docs, #3473
2016-10-18 21:12:52 +08:00
yiminghe
58e0228e86
optimize getFieldProps warning
2016-10-18 12:22:26 +08:00
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
2016-10-18 11:55:00 +08:00
偏右
62a53e75b8
refactor: Downsize some style code ( #3421 )
...
* remove fieldset disabled style
* improve button style mixins
2016-10-14 09:12:10 +08:00
kvetoslavnovak
c9258fc483
Form controls - Eng. correction ( #3381 )
2016-10-12 11:04:59 +08:00
kvetoslavnovak
1dad6653c4
Mix - Eng. correction ( #3382 )
2016-10-12 11:04:52 +08:00
kvetoslavnovak
125331a023
Form validation - Translazion correction ( #3387 )
2016-10-12 11:03:49 +08:00
afc163
fd76b0cc6c
fix long label overflow style
2016-10-07 14:34:25 +08:00
afc163
847e40eac0
Adjust site layout
2016-10-07 14:33:08 +08:00
Shawn Sit
4548b9521f
update customized validation demo ( #3242 )
2016-09-30 12:11:13 +08:00
Benjy Cui
949907231b
docs: udpate demo detail, close : #3111
2016-09-22 10:09:22 +08:00
afc163
44372760a1
update form demo style
2016-09-21 22:27:26 +08:00
afc163
1bd39692e9
adjust error message margin style in FormItem
2016-09-21 22:26:53 +08:00
Benjy Cui
bd7e9f00c0
style: update code style
2016-09-21 11:54:53 +08:00
Benjy Cui
3f67fd3f9f
docs: update docs details
2016-09-21 11:28:38 +08:00
feng zhi hao
a4be70334d
chore: fix some error declaration ( #3099 )
2016-09-21 09:27:58 +08:00
ddcat1115
3958eb4771
fix #3076 ( #3086 )
...
fix demolint
2016-09-20 13:49:38 +08:00
feng zhi hao
2cf5dc0046
chore: improve declaration ( #3078 )
2016-09-19 17:35:17 +08:00
Shawn Sit
7ce12fe36a
doc: demo translation enhancement ( #3033 )
...
* doc enhancement
* keep chinese simplified demo
2016-09-18 14:30:37 +08:00
偏右
354759cb17
Redesigned icons ( #3041 )
...
* redesigned icons
* change iconfont content
* use same icons
* fix missing icons
* improve icon size
2016-09-18 09:54:47 +08:00
afc163
9e5061acdc
Merge branch "1.x-stable"
2016-09-15 01:25:28 +08:00
马斯特
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
2016-09-14 16:18:33 +08:00
feng zhi hao
7a7395329b
chore: 完善Form组件的声明 ( #3043 )
2016-09-14 16:07:28 +08:00
Benjy Cui
37e8474714
fix: withRef
should work, close : #2843 ( #2992 )
2016-09-14 10:25:44 +08:00
afc163
be81b360fd
Merge branch '1.x-stable' of github.com:ant-design/ant-design into 1.x-stable
2016-09-13 18:27:49 +08:00
afc163
0f986c07a2
update form index.md
2016-09-13 18:26:52 +08:00
ddcat1115
e19a0d500c
fix: time-picker style, close #2973 ( #3028 )
2016-09-13 17:06:11 +08:00
Benjy Cui
8db2b79505
chore: fix compile errors
2016-09-13 15:31:29 +08:00
Benjy Cui
1dac1370de
deps: replace obejct.omit with omit.js, close : #2988 ( #2994 )
2016-09-10 17:17:55 +08:00
Benjy Cui
44d5fc6fd2
fix: both of undefined and null means no input, close : #2959
2016-09-10 14:28:40 +08:00
Benjy Cui
090fb16c77
docs: update the doc of Form, ref: #2985
2016-09-10 10:05:26 +08:00
Benjy Cui
14fb2c78ba
chore: remove deprecated code ( #2920 )
...
* chore: remove deprecated code
* chore: add warning for Breadcrumb
2016-09-09 13:55:46 +08:00
Benjy Cui
4026221d45
deps: hello moment ( #2887 )
...
* deps: upgrade TimePicker
* deps: upgrade DatePicker
* deps: upgrade Calendar
* fix: moment should work with LocaleProvider
* feat: update API of TimePicker
* feat: update Calendar's APIs
* feat: update DatePicker's APIs
* doc: update demo
* revert: add dateString and timeString and so on
* feat: add Calendar[defaultValue]
* feat: add defaultPickerValue
* docs: update docs about date picker
* feat: set moment locale to zh-cn automatically
2016-09-09 13:55:21 +08:00
afc163
bab669d17d
Merge branch "1.x-stable"
2016-09-08 15:17:39 +08:00
Andrew Murray
0d00c5fb6c
docs: Fixed typos ( #2921 )
2016-09-01 18:12:12 +08:00
afc163
7c99d5fb9e
fix selector order, close #2916
2016-09-01 16:48:22 +08:00
Benjy Cui
5a4ebe535f
deps: update rc-form and form's docs ( #2873 )
2016-09-01 11:48:38 +08:00
afc163
b798a228e6
Add less variables about outline
2016-08-31 17:04:24 +08:00
Benjy Cui
50c4367a15
docs: update docs for Form.Item, close : #2835
2016-08-25 13:54:53 +08:00
afc163
363f610d8b
Fix tsc errors beside DatePicker
2016-08-24 16:09:55 +08:00
afc163
77949bb9e3
upgrade eslint-config, close #2811
2016-08-23 21:00:35 +08:00
Benjy Cui
5dcce12c2c
fix: some tsc errors ( #2804 )
2016-08-22 17:26:14 +08:00
Benjy Cui
4e0ae95e1e
chore: export form's interface
2016-08-19 16:53:27 +08:00
陆离
ff765002fa
refactor: rewrite form and dropdown in ts ( #2683 )
2016-08-19 16:43:32 +08:00
afc163
da6b65f7f0
Merge 1.x-stable
2016-08-12 14:47:01 +08:00
afc163
8ae2936342
Fix nested Forms style
2016-08-10 14:38:35 +08:00
Marius Ileana
725ca31939
docs: Small correction ( #2637 )
2016-08-08 15:43:21 +08:00
ddcat1115
c9e26ecab9
docs: treeSelect
translation ( #2582 )
2016-08-05 11:47:31 +08:00
Benjy Cui
4cf04c5799
docs: update form demo
2016-08-05 11:28:34 +08:00
Marius Ileana
6bb29a1774
docs: Review of form / demo / advanced-search-form.md ( #2574 )
2016-08-05 11:25:39 +08:00
Benjy Cui
7d9585377e
feat: Form[vertical], close : #2449
2016-08-04 17:45:15 +08:00
afc163
d140108656
Fix typo
...
close #2602
2016-08-03 19:56:27 +08:00
Benjy Cui
5b5439208c
docs: update docs for Form, ref: #2591
2016-08-03 10:55:15 +08:00
Benjy Cui
eaebebf425
docs: fix docs
2016-08-02 09:34:04 +08:00
Marius Ileana
23e5912384
docs: Review ( #2573 )
...
Please excuse any mistake. I just discovered this library the other day, I felt in love with it and I really like to contribute. :-)
2016-08-02 09:32:50 +08:00
Marius Ileana
be181a7cc7
docs: review of form / demo / form-in-modal.md ( #2575 )
2016-08-02 09:25:14 +08:00
Marius Ileana
40498e7f01
chore: small typo to form / Form.tsx ( #2576 )
2016-08-02 09:24:15 +08:00
Benjy Cui
e5e7a9ac33
docs: update documentation of form
2016-07-31 10:01:58 +08:00
Gray Choi
d07b73fec0
docs: translation of form ( #2555 )
2016-07-31 09:53:51 +08:00
afc163
57f08259db
Merge 1.x-stable
2016-07-30 14:36:49 +08:00
Benjy Cui
1d2111db02
chore: add warning
2016-07-29 14:02:24 +08:00
afc163
71d74c30c1
Merge 1.x-stable
2016-07-29 13:57:54 +08:00
Benjy Cui
d1364ac038
feat: pass this.props.form as context automatically ( #2534 )
2016-07-29 11:18:31 +08:00
yeliex
14d6bd80da
fix: label should align left when it occupy the whole line ( #2517 )
2016-07-28 08:39:03 +08:00
afc163
b8c64f8b6c
Merge branch 'master' of github.com:ant-design/ant-design
2016-07-26 22:30:40 +08:00
afc163
0eeca99f02
Merge 1.x-stable
2016-07-26 22:20:33 +08:00
Benjy Cui
11660c128b
docs: update demo, close : #1872
2016-07-25 16:08:18 +08:00
afc163
ca57794ae7
better implement for a2804cb
2016-07-25 14:03:56 +08:00
afc163
32ab285886
Merge branch '1.x-stable'
2016-07-24 13:49:42 +08:00
afc163
a2804cbff5
Make clear icon more clear
2016-07-21 20:57:44 +08:00
afc163
497cc1f65a
improve FormItem colon ( #2311 )
2016-07-21 15:51:37 +08:00
afc163
1138b69c6d
Merge branch 'master' of github.com:ant-design/ant-design
2016-07-21 14:40:11 +08:00
afc163
42d34a5db3
Merge branch '1.x-stable'
2016-07-21 14:34:37 +08:00
RaoHai
1ccfad13f7
Mention Component fix
...
- 现在只输入一个 @ 符号,dropdown 也会弹出。
- 输入框失去焦点后,dropdown 会消失。
- 添加受控模式示例
- 添加 `getMentions(editorState: EditorState): Array<String>` Api,
可以获取当前提到的人。
- 添加了校验样式
- 其他样式修正
2016-07-20 19:01:11 +08:00
afc163
e2cc2838fd
Fix lesshint
2016-07-18 22:24:53 +08:00
afc163
2e41e35cc6
Fix more tslint problems
2016-07-13 17:22:23 +08:00
偏右
de359d2cf7
fix tslint problems ( #2360 )
2016-07-13 11:14:24 +08:00
afc163
6dad2b2987
Merge branch '1.x-stable'
2016-07-11 14:57:38 +08:00
afc163
8e9768fb4a
Fix form button align
2016-07-10 17:04:03 +08:00
afc163
5856bb1b30
Fix key warning
2016-07-10 15:16:24 +08:00
afc163
158b594526
Merge branch '1.x-stable'
2016-07-09 17:46:11 +08:00
Benjy Cui
4a6ff6f053
fix: Form.Item should support responsive layout, close : #2305 ( #2313 )
2016-07-09 17:44:28 +08:00
yeliex
147e06a837
Add colon
props to Form ( #2311 )
2016-07-09 15:10:07 +08:00
yiminghe
94706f1d2c
fix ts
2016-07-07 20:25:03 +08:00
afc163
d68d42f69b
Merge 1.x-stable
2016-07-07 17:26:16 +08:00
yiminghe
c667144943
fix form warning
...
Conflicts:
components/cascader/index.jsx
components/form/index.jsx
2016-07-07 17:23:51 +08:00
yiminghe
3d9ae9833e
fix form warning
2016-07-07 16:59:47 +08:00
afc163
487b40815f
Merge 1.x-stable
2016-07-07 15:13:01 +08:00
afc163
e27d6c3097
Form react-unknown-prop ( #2258 )
2016-07-07 12:06:05 +08:00
afc163
b0c05e3f29
tweak style ( #2234 )
2016-07-06 17:54:05 +08:00
afc163
d280cba481
Merge 1.x-stable
2016-07-04 15:19:35 +08:00
Benjy Cui
d9b4eb4aa3
fix: add missing ant-row
2016-07-04 15:18:05 +08:00
Benjy Cui
766988735b
docs: update demo
2016-07-04 15:17:42 +08:00
afc163
1f0c26b25a
Fix label colon with whitespace: label="xx: "
2016-07-04 14:39:20 +08:00
Benjy Cui
0a73886a9c
docs: update demo
2016-07-04 12:13:29 +08:00
Benjy Cui
df2f672dd9
fix: add missing ant-row
2016-07-04 11:29:56 +08:00
afc163
21fb73d4f2
Merge branch '1.x-stable'
2016-06-28 18:46:23 +08:00
afc163
4a40399522
fix feedback position
2016-06-28 18:32:03 +08:00
afc163
95351bfffa
Merge branch '1.x-stable'
2016-06-27 19:31:38 +08:00
afc163
089f1ae512
update components category name
2016-06-27 18:21:12 +08:00
afc163
ef4c1a4749
Merge branch '1.x-stable'
2016-06-27 17:58:16 +08:00
afc163
0eaf940672
Fix Radio & Checkbox margin again
2016-06-27 17:22:03 +08:00
afc163
cc4cab5b1e
Merge 1.x-stable
2016-06-23 23:11:14 +08:00
afc163
e50953390e
update docs
2016-06-23 16:17:00 +08:00
yiminghe
9a0d751f94
refactor to typescript
2016-06-22 13:19:48 +08:00
Benjy Cui
5a4805d691
style: update code style to please lint
2016-06-19 10:57:28 +08:00
Benjy Cui
49b944617c
style: update code style to please lint
2016-06-19 09:55:03 +08:00
afc163
ff8d855cc6
fix lints
2016-06-17 15:16:45 +08:00
afc163
2be1577b32
Improve demo code style
2016-06-16 22:18:00 +08:00
afc163
81276e43ea
upgrade deps
2016-06-16 22:16:17 +08:00
偏右
09db9f2436
Revert "Remove react-addons-pure-render-mixin, use rc-util's PureRenderMixin instead" ( #2074 )
2016-06-16 22:06:06 +08:00
ddcat1115
fade8d7017
fix #1927 addon support Select ( #2070 )
2016-06-16 21:15:59 +08:00
afc163
06f472a728
improve auto colon of FormItem
2016-06-15 18:15:47 +08:00
Leon Shi
0f8855dff7
remove react-addons-pure-render-mixin, use rc-util's PureRenderMixin instead ( #2055 )
2016-06-15 16:57:06 +08:00
Benjy Cui
6c6496fae4
refactor: improve Form re-render performance
2016-06-12 10:15:59 +08:00
Benjy Cui
2144349741
style: enable react/jsx-closing-bracket-location
2016-06-06 13:54:10 +08:00
ddcat1115
4af2731f0c
fix #1672 ( #1936 )
2016-06-06 11:40:54 +08:00
afc163
d4570fd6c3
fix missing ant-advanced-search-form styles
2016-06-06 11:34:38 +08:00
afc163
7d131a3b64
Remove colon and add it via FormItem, close #1877
2016-06-02 20:51:49 +08:00
afc163
7a72f4ad4e
update form doc
2016-05-27 14:57:53 +08:00
afc163
9c28420468
Add TimePicker to Form demo ( #1515 )
2016-05-27 14:47:40 +08:00
ddcat1115
c4454dea04
fix #1771
2016-05-25 18:34:36 +08:00
afc163
15bb865037
Fix form detail style
2016-05-24 20:08:13 +08:00
afc163
dd33cb8f60
Move InputGroup style from Form into Input, close #1812
2016-05-23 20:09:25 +08:00
afc163
41a8c17b2b
remove search-input from Form
2016-05-23 19:53:07 +08:00
afc163
b15ae59101
Fix lots of Form style
2016-05-19 15:21:48 +08:00
afc163
05c67d6f01
update input demo
2016-05-19 14:43:10 +08:00
Leon Shi
87e8cb7f5c
Merge pull request #1722 from kagawagao/master
...
fix Form style bug
2016-05-18 21:00:25 +08:00
Benjy Cui
f15110e7c1
fix: Input[size] should be configurable, close : #1732
2016-05-18 11:41:57 +08:00
kagawagao
88d148ac98
fix Form style bug
2016-05-17 15:46:21 +08:00
Benjy Cui
8842d9342a
site: update components' type
2016-05-16 15:41:55 +08:00
afc163
5b921b6960
Fix combobox focus style, close #1684
2016-05-13 23:16:59 +08:00
afc163
7b7f846161
Fix search input margin bug
2016-05-12 11:38:49 +08:00
yiminghe
2f81cc8111
update docs
2016-05-11 11:33:46 +08:00
Benjy Cui
ecaa6c56c3
style: enable comma-dangle
2016-05-11 09:32:33 +08:00
afc163
68b06eb688
update docs
2016-05-10 18:41:10 +08:00
afc163
5bcb23dd27
Fix feedback in form control, close #1619
2016-05-10 11:55:58 +08:00
afc163
72a1144c7e
Fix input width, close #1559
2016-05-03 11:34:10 +08:00
afc163
c68f95c211
Merge branch master into develop-1.0.0
2016-04-29 17:26:21 +08:00
afc163
e9f083015e
fix form demo ( #1550 )
2016-04-29 15:19:46 +08:00
afc163
03cb74ead5
upgrade eslint-config-airbnb version and fix some problems
2016-04-29 12:13:27 +08:00
afc163
96fd67ded0
remove old compatibility code
2016-04-28 17:18:36 +08:00
afc163
0ca6a1c24a
css modularize ( #1448 )
...
* css modularize
* Add alert style
* Move more component style
* Move iconfont to common style
* Move layout style
* Move more component style
* Move all components
* Fix lots of mixin deps
* remove css-prefix from less
* fix a button icon style bug
* restructure
* fix index
* add dist
* fix jest
* fix some components style
* clean webpack config
* check more components style
* update tabs
* update scripts
* update scripts
* fix form style
* fix more style
* Fix select width
* Fix form and tabs style
2016-04-27 20:44:36 +08:00
afc163
ba2ef54900
Merge branch master into develop-1.0.0
2016-04-27 17:44:25 +08:00
afc163
0858413691
fix FormItem help and extra render
2016-04-27 17:02:50 +08:00
Leon Shi
baac12d1c4
fix lint ( #1513 )
...
* fix lint `prefer-stateless-function`
* fix lint `arrow-body-style`
2016-04-26 14:09:19 +08:00
afc163
c5831310ac
Merge branch 'master' into develop-1.0.0
2016-04-25 16:31:46 +08:00
afc163
3789fda6ee
fix lint
2016-04-25 16:31:32 +08:00
afc163
7426233425
remove unused code
2016-04-25 16:27:47 +08:00
afc163
5f75a63e8e
Merge branch 'master' into develop-1.0.0
2016-04-25 16:26:59 +08:00
afc163
287c45292d
fix color of form help text
2016-04-25 16:25:57 +08:00
Benjy Cui
0d7e92c056
docs: remove useless code in demo
2016-04-20 10:31:16 +08:00
afc163
8a9a1d2334
fix checkbox style
2016-04-15 23:34:40 +08:00
Benjy Cui
d0ad1b4b0a
docs: update docs for Form
2016-04-12 17:08:01 +08:00
afc163
026d720aaf
update form demo format
2016-04-12 16:12:13 +08:00
afc163
d39da4bfb7
Merge branch 'master' into develop-1.0.0
2016-04-12 16:09:13 +08:00
afc163
a9af1b3bc8
rollback for bad commit b3f519a
...
close #1392
2016-04-12 16:06:34 +08:00
Benjy Cui
10edd74f33
docs: update demos of Form
2016-04-12 15:18:57 +08:00
afc163
0a0d16ff61
Fix form input style
2016-04-12 14:55:02 +08:00
afc163
db0c909ccd
Merge branch master into develop-1.0.0
2016-04-11 14:34:18 +08:00
afc163
95fabf0c00
update demo
2016-04-11 14:03:31 +08:00
Benjy Cui
59cb0a8fbb
site: fix parse errors..
2016-04-08 09:33:09 +08:00
afc163
e46d60cc2a
Merge branch master into develop-1.0.0
2016-04-06 23:58:14 +08:00
afc163
378ba4b9af
update form demo
2016-04-06 19:30:23 +08:00
afc163
fd850b9607
Add Input onPressEnter prop, ref #978
2016-04-06 18:12:41 +08:00
afc163
ba2b08b492
Fix layout responsive
2016-04-06 13:45:36 +08:00
afc163
b3f519ac52
update form style for advanced-search-form demo
2016-04-06 12:08:40 +08:00
afc163
e5c8179189
Merge branch master into develop-1.0.0
2016-04-06 11:57:17 +08:00
afc163
35b6618597
update form demo
2016-04-06 11:29:28 +08:00
afc163
910203a554
update form index.md
2016-04-06 11:29:06 +08:00
Benjy Cui
df3ba36720
docs: remove useless newline in documentation
2016-04-01 10:08:19 +08:00
Benjy Cui
d5a6932c15
docs: update documentation format
2016-03-31 14:17:09 +08:00
Benjy Cui
03d09b66e8
docs: update demo format
2016-03-31 09:40:55 +08:00
Benjy Cui
fd3406bd03
style: enable react/jsx-no-bind
2016-03-30 17:06:19 +08:00
afc163
c47fdeaf8f
Merge branch 'master' into develop-1.0.0
2016-03-30 11:17:39 +08:00
afc163
1d1d0bac0d
Add style for Form & FormItem
...
close #1290
2016-03-30 11:01:09 +08:00
afc163
c10fbaed6f
fix some className issues
2016-03-30 10:58:37 +08:00
yiminghe
55f23c9d34
Merge pull request #1292 from waywardmonkeys/static-members
...
Use static class members for propTypes and friends.
2016-03-29 16:36:30 +08:00
Benjy Cui
b0f7df547a
docs: update docs for Form.create
2016-03-29 15:24:22 +08:00
Bruce Mitchener
273e527201
Use static class members for propTypes and friends.
2016-03-29 13:01:10 +07:00
Benjy Cui
10dd78122b
feat: support multi children for Form.Item
2016-03-28 17:06:10 +08:00
afc163
80f11f5f70
Merge branch 'develop-1.0.0' of github.com:ant-design/ant-design into develop-1.0.0
2016-03-28 16:16:36 +08:00
afc163
fbda3c7b88
Merge master into develop-1.0.0
2016-03-28 16:15:36 +08:00
Benjy Cui
f4193866b8
docs: update docs for form
2016-03-28 15:27:57 +08:00
afc163
cbfb910973
fix search-input style of large size
2016-03-25 19:59:05 +08:00
yiminghe
101bacc5b8
fix form
2016-03-25 18:29:18 +08:00
afc163
df1252cba1
Merge branch 'master' into develop-1.0.0
2016-03-25 16:01:12 +08:00
afc163
68c7d3cdaa
update form doc
2016-03-25 14:24:04 +08:00
Benjy Cui
cd39283aca
docs: fix demo, close #1207
2016-03-23 14:59:01 +08:00
闲耘™
17b8dfe6be
fix(demo): fixed form control demo.
2016-03-22 11:53:38 +08:00
Benjy Cui
3611c798c1
docs: update documentation
2016-03-22 10:33:50 +08:00
afc163
7bf88306ff
fix form demo
2016-03-21 18:14:05 +08:00
Benjy Cui
1f7a30c99c
Merge branch 'master' of github.com:ant-design/ant-design into spa-new-design-language
2016-03-18 11:12:51 +08:00
Benjy Cui
ab04ce30f7
docs: update docs for getFieldProps, close : #1211
2016-03-17 10:11:26 +08:00
Benjy Cui
ebab622add
Merge branch 'master' of github.com:ant-design/ant-design into develop-1.0.0
2016-03-15 09:47:55 +08:00
Bruce Mitchener
89561b0b3e
Favor 'export default' over 'module.exports'.
2016-03-14 14:17:48 +07:00
Benjy Cui
f0c4ecbc8f
fix: suppress submit event by default #1173
2016-03-11 16:22:38 +08:00
Benjy Cui
c79e2dcfe4
Merge pull request #1082 from ant-design/improve-layout
...
Improve layout
2016-03-09 18:02:21 +08:00
Benjy Cui
e571fb359c
Merge pull request #1029 from ant-design/checkbox-new-usage
...
Make Checkbox usage same as Radio
2016-03-08 17:17:39 +08:00
afc163
d9ff420531
Fix Row in form demo
2016-03-07 17:25:59 +08:00
afc163
f25ac2feac
docs: update demo
2016-03-02 17:41:29 +08:00
Benjy Cui
2dd781edb3
docs: update demo
2016-03-02 17:31:27 +08:00
afc163
a058ebc372
Fix Input className, close #1103
2016-03-02 17:11:12 +08:00
afc163
ca2fca024a
fix child null bug in FormItem
2016-03-01 17:52:07 +08:00
Benjy Cui
ce11c258b3
docs: update demos' code style
2016-02-25 14:34:31 +08:00
afc163
38a4436599
update form doc
2016-02-25 11:54:53 +08:00
afc163
b3340c6b6b
Fix some style
2016-02-25 11:49:40 +08:00
afc163
feaf02b406
make Checkbox usage same as Radio
2016-02-24 20:28:23 +08:00
Benjy Cui
353601ca0c
docs: add demo for valuePropName #1062
2016-02-24 15:42:33 +08:00
Benjy Cui
caacdc5a93
fix: typo
2016-02-23 17:07:43 +08:00
afc163
ac5693599c
Add doc for FormItem extra prop, close #931
2016-02-22 15:34:32 +08:00
afc163
774f5b9ced
Remove form disabled demo
2016-02-22 15:25:22 +08:00
Benjy Cui
c1659c2ce3
style: update code style to please lint
2016-02-22 10:52:30 +08:00
Benjy Cui
a0c01b54e8
docs: update demo code style
2016-02-18 11:01:00 +08:00
Benjy Cui
29825f20c8
style: update code style to please lint
2016-02-17 18:04:42 +08:00
Benjy Cui
c8015c88c3
feat: scroll to invalid field automatically #993
2016-02-16 10:15:48 +08:00
Benjy Cui
ceac176270
docs: update documentation
2016-02-15 10:03:48 +08:00
afc163
b4c997f016
fix required prefixCls
2016-02-03 14:00:38 +08:00
Benjy Cui
51c33b9c51
fix: add prefix
2016-02-02 20:47:52 +08:00
Benjy Cui
b42fb9f189
fix: should not set required to label #985
2016-02-02 19:08:17 +08:00
Benjy Cui
512941c65b
fix: should get meta from children
2016-02-01 10:32:02 +08:00
Benjy Cui
4e13bee52a
feat: make Form validation work with Modal
2016-02-01 09:38:40 +08:00
yiminghe
798d15b4f0
update form
2016-01-30 19:00:56 +08:00
yiminghe
4ace891cd6
change form
2016-01-28 21:53:57 +08:00
yiminghe
f5cb207e7c
fix FormItem
2016-01-28 21:49:09 +08:00
Benjy Cui
cd1391e6a2
style: update code style for object-curly-spacing
2016-01-27 17:00:58 +08:00
yiminghe
df326bea67
fix fieldOption
2016-01-27 14:35:21 +08:00
Benjy Cui
d06935528e
feat: customized size first
2016-01-27 12:00:27 +08:00
Benjy Cui
1e42ee95b7
feat: size of controls in form should be large
2016-01-27 10:00:27 +08:00
Benjy Cui
4d84706d7f
fix: help is generate automatically now
2016-01-26 17:42:56 +08:00
afc163
02c3a18f79
0.12.0-beta.25
2016-01-26 17:03:44 +08:00
afc163
08c080948e
Merge pull request #929 from ant-design/chore-form
...
refactor: rename option to fieldOption
2016-01-26 17:02:44 +08:00
yiminghe
a35c027551
support extra for FormItem
2016-01-26 15:40:47 +08:00
yiminghe
60a77bdccf
support extra for FormItem
2016-01-26 15:38:58 +08:00
Benjy Cui
cf25379010
refactor: rename option to fieldOption
2016-01-26 15:17:51 +08:00
afc163
a88c62f190
update form demos
2016-01-26 11:55:27 +08:00
afc163
9b13c34889
Add cascader to form demo
2016-01-25 16:25:20 +08:00
Benjy Cui
366edc023a
refactor: make code more robust
2016-01-25 15:00:03 +08:00
afc163
cb6224df4b
fix form demo style
2016-01-23 16:18:22 +08:00
afc163
c75492ffe2
Merge pull request #913 from ant-design/deps-rc-form
...
make Form work with rc-form
2016-01-23 16:09:29 +08:00
afc163
66b7ee81ad
fix eslint problems, eslint-config-airbnb@4.x
2016-01-23 15:22:16 +08:00
afc163
0265e3eb6e
remove ant-form-item-compact, rewrite form-item align style
2016-01-22 20:58:45 +08:00
Benjy Cui
7bf9fa6347
docs: update Form's documentation
2016-01-22 16:16:15 +08:00
Benjy Cui
d745644d83
feat: add id to child automatically
2016-01-22 16:16:15 +08:00
Benjy Cui
1749f5838c
feat: rename name
to id
2016-01-22 16:16:15 +08:00
Benjy Cui
62d61ada74
chore: rename demos
2016-01-22 16:16:15 +08:00
Benjy Cui
d8201c2752
feat: add createForm to Form
2016-01-22 16:16:15 +08:00
Benjy Cui
422b0d19f7
docs: update Form's APIs
2016-01-22 16:16:15 +08:00
Benjy Cui
3e12f86dcd
docs: add demos for rc-form
2016-01-22 16:16:15 +08:00
Benjy Cui
d2acc97493
feat: make Form work with rc-form
2016-01-22 16:16:15 +08:00
afc163
0a4758acf4
Fix form item height vertical align
2016-01-22 14:56:35 +08:00
afc163
69935c5bbf
Add size for RadioButton, close #904
2016-01-21 22:45:21 +08:00
afc163
6908d35db5
Merge master
2016-01-21 17:19:33 +08:00
afc163
b1191a5c06
Style: Fix form-item explain float bug, close #906
2016-01-21 13:15:28 +08:00
afc163
8cd0a08946
Allow FormItem.help to be boolean
2016-01-12 14:24:42 +08:00
afc163
cf92a79529
merge master
2016-01-12 11:44:02 +08:00
afc163
997db86d76
fix form item demo style
2016-01-12 11:25:17 +08:00
afc163
7a142993a1
Add inline form item explain to demo, #846
2016-01-12 11:18:28 +08:00
Benjy Cui
aa5c4f9595
style: update code style to please lint
2016-01-11 09:49:31 +08:00
Benjy Cui
209170e813
style: update demo code style to please lint
2016-01-11 09:49:30 +08:00
Benjy Cui
711d2d7413
style: update code style to please lint
2016-01-11 09:49:30 +08:00
afc163
1e001d2d82
upgrade eslint-config-airbnb
2016-01-11 09:48:29 +08:00
Benjy Cui
8c50e283f6
fix: FormItem should support long help message #785
2015-12-31 15:57:24 +08:00
Benjy Cui
e66a43a4c5
docs: update Form's demo
2015-12-31 09:51:44 +08:00
afc163
e44faf9d48
fix demo style
2015-12-29 23:43:10 +08:00
afc163
6d4c4e12d1
Add advanced search form demo
2015-12-29 23:39:21 +08:00
afc163
91bd7f22c0
use mountNode replace the long getElementById
2015-12-29 12:08:58 +08:00
afc163
c45c6877f8
fix lint problems
2015-12-27 16:20:59 +08:00
Benjy Cui
da7b7ca2a0
fix: Form should support className
#711
2015-12-25 14:30:28 +08:00
Benjy Cui
2bb90710b9
docs: update documentation about mixins
2015-12-22 16:54:34 +08:00
afc163
d8404a5972
Add tip, #692
2015-12-17 14:28:57 +08:00
afc163
744a0c49b5
Fix Input textarea rows prop, close #694
2015-12-16 20:13:18 +08:00
afc163
d759d1f489
Datepicker => DatePicker, Timepicker => TimePicker
2015-12-10 16:30:18 +08:00