update form doc

This commit is contained in:
afc163 2016-03-25 14:24:04 +08:00
parent 963d073f1d
commit 68c7d3cdaa

View File

@ -81,7 +81,7 @@ CustomizedForm = Form.create({})(CustomizedForm);
| getFieldError | 获取某个输入控件的 Error | Function(name) | | |
| isFieldValidating | 判断一个输入控件是否在校验状态 | Function(name) | | |
| resetFields | 重置一组输入控件的值与状态,如不传入参数,则重置所有组件 | Function([names: string[]]) | | |
| getFieldProps 详见下面描述 | | | | |
| getFieldProps | 用于和表单进行双向绑定,详见下方描述 | | | |
#### this.props.form.getFieldProps(id, options)
@ -130,8 +130,9 @@ CustomizedForm = Form.create({})(CustomizedForm);
#### Input.Group
```html
<Input.Group className={string}> // 样式类名前缀,默认是 ant-input-group通常您不需要设置。
{children}
<Input.Group className={string}>
<Input />
<Input />
</Input.Group>
```