From 1bf6f1bc7ace08521856ae2c8ee504d6c7e9c10d Mon Sep 17 00:00:00 2001 From: dopamine Date: Mon, 18 Sep 2023 22:03:41 +0800 Subject: [PATCH] docs(form): add that `prop` supports dot notation string (#14325) --- docs/en-US/component/form.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en-US/component/form.md b/docs/en-US/component/form.md index 72ead4a83e..71f9c868ce 100644 --- a/docs/en-US/component/form.md +++ b/docs/en-US/component/form.md @@ -172,7 +172,7 @@ form/accessibility | Name | Description | Type | Default | | --------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------- | ------- | -| prop | A key of `model`. It could be an array of property paths (e.g `['a', 'b', '0']`). In the use of `validate` and `resetFields` method, the attribute is required. | ^[string] / ^[string[]] | — | +| prop | A key of `model`. It could be a path of the property (e.g `a.b.0` or `['a', 'b', '0']`). In the use of `validate` and `resetFields` method, the attribute is required. | ^[string] / ^[string[]] | — | | label | Label text. | ^[string] | — | | label-width | Width of label, e.g. `'50px'`. `'auto'` is supported. | ^[string] / ^[number] | '' | | required | Whether the field is required or not, will be determined by validation rules if omitted. | ^[boolean] | — |