mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
update form doc
This commit is contained in:
parent
963d073f1d
commit
68c7d3cdaa
@ -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>
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user