Commit Graph

763 Commits

Author SHA1 Message Date
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
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
SimaQ
a86a3b9a5b fix: fixes #586. 2015-11-25 10:46:38 +08:00
afc163
ce76ebfe9b replace rcUtil.classSet by classnames, ref react-component/util#1 2015-11-24 20:03:57 +08:00
afc163
7eb2f5b58a Add support for degrade usage of form 2015-11-20 18:51:12 +08:00
afc163
184e378e79 move col row input into indepent dirctories, remove antd.ButtonGroup 2015-11-20 18:21:59 +08:00
yiminghe
455441a645 fix placeholder 2015-11-09 10:58:52 +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
yiminghe
052e8ee0f4 upgrade 2015-11-03 13:52:41 +08:00
afc163
9749b1692e update document 2015-11-02 16:37:40 +08:00
SimaQ
1c1bf9945a 细节修改,保持 dom 结构稳定。 2015-10-31 08:46:15 +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
27a8d10f3c 更新文档。 2015-10-31 08:46:14 +08:00
SimaQ
7b675f0721 更新 form demo. 2015-10-31 08:46:14 +08:00
SimaQ
8f72f6cdcf 将 formItem 布局样式相关的属性写法同 layout 组件属性结合。 2015-10-31 08:46:14 +08:00
SimaQ
cd24f3d566 优化 Input.jsx 2015-10-31 08:45:36 +08:00
SimaQ
6d18737404 update demo. 2015-10-31 08:45:36 +08:00
SimaQ
b9bee33154 更新 validation demo. 2015-10-31 08:45:36 +08:00
SimaQ
c2e56746dc 更新 form 说明文案。 2015-10-31 08:45:36 +08:00
SimaQ
b8479d9d55 更新 form demo。 2015-10-31 08:45:35 +08:00
SimaQ
5bb37f7033 form 组建 2015-10-31 08:45:35 +08:00
SimaQ
042800c750 增加 size 定义。 2015-10-31 08:45:35 +08:00
SimaQ
e59d168453 去除 isCompact 属性,将是否添加 ant-form-item-compact 类在程序内部判断。 2015-10-31 08:45:35 +08:00
SimaQ
7ca132eca8 feat: add mixin for form. 2015-10-31 08:45:35 +08:00
SimaQ
ebab3c4199 update form demo. 2015-10-31 08:45:35 +08:00
SimaQ
6689011357 feat: Form modularization. 2015-10-31 08:44:38 +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
fdf19520d6 Add component type 2015-08-22 20:16:24 +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
9acba5d4ae change category 2015-07-29 16:30:26 +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