Commit Graph

394 Commits

Author SHA1 Message Date
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
d5edcb9ef0 feat: support deep-level form control, close: #3212 (#3491) 2016-10-20 16:24:48 +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
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
ddcat1115
3958eb4771 fix #3076 (#3086)
fix demolint
2016-09-20 13:49:38 +08:00
Shawn Sit
7ce12fe36a doc: demo translation enhancement (#3033)
* doc enhancement

* keep chinese simplified demo
2016-09-18 14:30:37 +08:00
Benjy Cui
37e8474714 fix: withRef should work, close: #2843 (#2992) 2016-09-14 10:25:44 +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
Andrew Murray
0d00c5fb6c docs: Fixed typos (#2921) 2016-09-01 18:12:12 +08:00
Benjy Cui
5a4ebe535f deps: update rc-form and form's docs (#2873) 2016-09-01 11:48:38 +08:00
afc163
77949bb9e3 upgrade eslint-config, close #2811 2016-08-23 21:00: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
Benjy Cui
eaebebf425 docs: fix docs 2016-08-02 09:34:04 +08:00
Marius Ileana
be181a7cc7 docs: review of form / demo / form-in-modal.md (#2575) 2016-08-02 09:25:14 +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
Benjy Cui
11660c128b docs: update demo, close: #1872 2016-07-25 16:08:18 +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
Benjy Cui
766988735b docs: update demo 2016-07-04 15:17:42 +08:00
Benjy Cui
0a73886a9c docs: update demo 2016-07-04 12:13:29 +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
ddcat1115
fade8d7017 fix #1927 addon support Select (#2070) 2016-06-16 21: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
7d131a3b64 Remove colon and add it via FormItem, close #1877 2016-06-02 20:51:49 +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
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
Benjy Cui
f15110e7c1 fix: Input[size] should be configurable, close: #1732 2016-05-18 11:41:57 +08:00
afc163
7b7f846161 Fix search input margin bug 2016-05-12 11:38:49 +08:00
Benjy Cui
ecaa6c56c3 style: enable comma-dangle 2016-05-11 09:32:33 +08:00
afc163
5bcb23dd27 Fix feedback in form control, close #1619 2016-05-10 11:55:58 +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
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
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
Benjy Cui
df3ba36720 docs: remove useless newline in documentation 2016-04-01 10:08:19 +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
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
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
afc163
7bf88306ff fix form demo 2016-03-21 18:14:05 +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
Benjy Cui
ce11c258b3 docs: update demos' code style 2016-02-25 14:34:31 +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
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
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
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
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
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
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
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
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
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
Benjy Cui
2bb90710b9 docs: update documentation about mixins 2015-12-22 16:54:34 +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
afc163
c3aa6ec367 Add search input style, ref #413 2015-12-02 19:33:26 +08:00
afc163
d1d3329674 fix boolean attribute lint errors 2015-11-25 18:10:35 +08:00
afc163
16abf46071 Fix markdown eslint errors, update .eslintrc 2015-11-25 18:10:34 +08:00
afc163
d5acc3832a update form demo 2015-11-06 14:13:26 +08:00
SimaQ
ecb1a8f447 fix: fix form demo warning. fixed #470. 2015-11-04 17:10:19 +08:00
afc163
9749b1692e update document 2015-11-02 16:37:40 +08:00
SimaQ
26d9c64f4d fix: 修复通 Validator 结合使用输入失焦的问题。 2015-10-31 08:46:15 +08:00
SimaQ
3a38ad40d3 更新 form 文档。 2015-10-31 08:46:14 +08:00
SimaQ
0d2a6f9c3c message 组件名更新.... 2015-10-31 08:46:14 +08:00
SimaQ
bc228af808 mv input-size.md to input.md, inputs.md to input-group.md 2015-10-31 08:46:14 +08:00
SimaQ
7b675f0721 更新 form demo. 2015-10-31 08:46:14 +08:00
SimaQ
6d18737404 update demo. 2015-10-31 08:45:36 +08:00
SimaQ
b8479d9d55 更新 form demo。 2015-10-31 08:45:35 +08:00
SimaQ
ebab3c4199 update form demo. 2015-10-31 08:45:35 +08:00
yiminghe
76b0f673ec beta2 2015-10-20 16:47:55 +08:00
Benjy Cui
5b86a4be1d refactor: replace button tag with Button component 2015-10-08 15:13:04 +08:00
elrrrrrrr
d467994249 chore: 迁移 form iconfont 2015-10-02 15:17:21 +08:00
afc163
461ffdf421 Fix select demo, close #195 2015-08-26 11:09:43 +08:00
afc163
e78190cb2e Fix form demo 2015-08-22 20:28:00 +08:00
afc163
dd397f8935 Fix radio group 2015-08-22 20:22:02 +08:00
afc163
e3e9c9d314 same problem as #179 2015-08-21 15:56:13 +08:00
zhujun24
ae97429f6f fixed form demo select defaultValue 2015-08-21 15:35:51 +08:00
SimaQ
b99dffbd09 fix: fix Browser compatibility for .ant-form-inline. 2015-08-18 17:15:08 +08:00
zhujun24
d3784423ac label htmlFor 2015-08-17 13:16:36 +08:00
zhujun24
dee35bd833 optimize code style 2015-08-10 15:39:50 +08:00
zhujun24
f85248726d form input large size 2015-08-10 14:34:25 +08:00
afc163
8b338e626a fix margin right 2015-08-05 22:03:24 +08:00
SimaQ
5f70cf024a feat: add form-validation 2015-08-03 13:39:58 +08:00
afc163
8d327e1b47 update form demo 2015-07-24 16:10:13 +08:00
SimaQ
bf1cf10adf update form typography 2015-07-22 17:17:47 +08:00
SimaQ
75ecb0d0dc tiny update 2015-07-22 08:14:33 +08:00
SimaQ
f15bbfc7e8 update classanme 2015-07-21 16:45:23 +08:00
SimaQ
77d263f063 update radio 2015-07-21 16:26:53 +08:00
SimaQ
0f8de0411f update form demo page 2015-07-21 14:55:22 +08:00
afc163
a4589b4ddd update select style 2015-07-20 22:56:43 +08:00
SimaQ
745b6d3be2 form demo update: change radio checkbox select to ant-radio ant-checkbox ant-select 2015-07-20 20:35:48 +08:00
SimaQ
9fe92d9735 update form demo 2015-07-20 17:43:01 +08:00
SimaQ
ac14eef84c update form style 2015-07-20 16:06:10 +08:00
afc163
ddc3f83d76 update radio 2015-07-17 17:31:56 +08:00
simaQ
a75af9ad78 update form 2015-07-17 15:43:31 +08:00
simaQ
7172311c5c update form demo 2015-07-17 15:12:48 +08:00
afc163
0e9335246c fix checkbox and radio 2015-07-17 11:06:38 +08:00
afc163
fc70c60d5b update form style 2015-07-16 22:57:47 +08:00
simaQ
d5b5895301 update form demo 2015-07-16 15:20:06 +08:00
afc163
db51898720 fix form style 2015-07-16 14:18:03 +08:00
yiminghe
8c93c35f54 update style 2015-07-16 13:00:56 +08:00
simaQ
60527e0d56 update 2015-07-16 11:49:46 +08:00
simaQ
2ed33e8056 add slider into form 2015-07-15 16:00:59 +08:00
simaQ
a72bc1b93b update form demo page 2015-07-09 13:48:49 +08:00
simaQ
db945443a6 update form display page 2015-07-09 10:55:37 +08:00
simaQ
3b706a74e9 update demo 2015-07-08 20:15:19 +08:00
simaQ
3710ac73e3 remove .pd-rg .pd-lf 2015-07-08 20:15:02 +08:00
yiminghe
c85e10083d add switch 2015-07-08 19:47:45 +08:00
afc163
a1200aa1d6 update layout.html 2015-07-08 15:41:19 +08:00
simaQ
fd757fe0c4 tiny display modify 2015-07-08 12:02:13 +08:00
simaQ
37d1ba179b delete basic.md in form demo 2015-07-07 23:46:19 +08:00
simaQ
3c7f943d3e update form page 2015-07-07 23:45:46 +08:00
simaQ
7fb5995309 add form and input style 2015-07-07 11:32:08 +08:00
simaQ
2d9919d4c6 add form display page 2015-07-07 11:25:16 +08:00
simaQ
ef9ad70aea update form page 2015-07-06 09:04:39 +08:00
simaQ
c4cd3ce495 add form page 2015-07-06 09:04:39 +08:00