docs(form): add that prop supports dot notation string (#14325)

This commit is contained in:
dopamine 2023-09-18 22:03:41 +08:00 committed by GitHub
parent 1601369458
commit 1bf6f1bc7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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] | — |