mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 06:03:38 +08:00
update form index.md
This commit is contained in:
parent
c897243d33
commit
0f986c07a2
@ -67,7 +67,7 @@ CustomizedForm = Form.create({})(CustomizedForm);
|
||||
|-----------|------------------------------------------|------------|
|
||||
| getFieldsValue | 获取一组输入控件的值,如不传入参数,则获取全部组件的值 | Function([fieldNames: string[]]) |
|
||||
| getFieldValue | 获取一个输入控件的值 | Function(fieldName: string) |
|
||||
| setFieldsValue | 设置一组输入控件的值 | Function(obj: object) |
|
||||
| setFieldsValue | 设置一组输入控件的值 | Function({ [fieldName]: value }) |
|
||||
| setFields | 设置一组输入控件的值与 Error | Function(obj: object) |
|
||||
| validateFields | 校验并获取一组输入域的值与 Error | Function([fieldNames: string[]], [options: object], callback: Function(errors, values)) |
|
||||
| validateFieldsAndScroll | 与 `validateFields` 相似,但校验完后,如果校验不通过的菜单域不在可见范围内,则自动滚动进可见范围 | 参考 `validateFields` |
|
||||
|
Loading…
Reference in New Issue
Block a user