|
|
|
@ -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)
|
|
|
|
|
|
|
|
|
@ -132,8 +132,9 @@ CustomizedForm = Form.create({})(CustomizedForm);
|
|
|
|
|
#### Input.Group
|
|
|
|
|
|
|
|
|
|
```html
|
|
|
|
|
<Input.Group className={string}> // 样式类名前缀,默认是 ant-input-group,通常您不需要设置。
|
|
|
|
|
{children}
|
|
|
|
|
<Input.Group className={string}>
|
|
|
|
|
<Input />
|
|
|
|
|
<Input />
|
|
|
|
|
</Input.Group>
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|