From 1d1244cb94b7f423cc39aa664a9ba98d0bcf74cc Mon Sep 17 00:00:00 2001 From: ouba421 <31402685+ouba421@users.noreply.github.com> Date: Wed, 20 Nov 2024 19:04:55 +0800 Subject: [PATCH] Update index.en.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加validateFields 第二个参数的英文文档注释 --- src/components/form/index.en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/form/index.en.md b/src/components/form/index.en.md index f540a580e6..3dbecd1518 100644 --- a/src/components/form/index.en.md +++ b/src/components/form/index.en.md @@ -57,7 +57,7 @@ High-performance form controls with built-in data field management. Including da | setFieldValue | Set the value by the field name | `(name: NamePath, value: any) => void` | | setFieldsValue | Set fields value(Will directly pass to form store. If you do not want to modify passed object, please clone first) | `(values) => void` | | submit | Submit the form. It's same as click `submit` button | `() => void` | -| validateFields | Validate fields | `(nameList?: NamePath[]) => Promise` | +| validateFields | Validate fields,`recursive` is set to recursively check all included paths | `(nameList?: NamePath[], config?: {recursive: boolean}) => Promise` | ### validateMessages