Browse Source

docs: improve FieldData type on Form (#41278)

pull/41285/head
野迂迂 2 years ago
committed by GitHub
parent
commit
844905774a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      components/form/index.en-US.md
  2. 1
      components/form/index.zh-CN.md

1
components/form/index.en-US.md

@ -411,6 +411,7 @@ Form only update the Field which changed to avoid full refresh perf issue. Thus
| Name | Description | Type |
| ---------- | ------------------------ | ------------------------ |
| errors | Error messages | string\[] |
| warnings | Warning messages | string\[] |
| name | Field name path | [NamePath](#namepath)\[] |
| touched | Whether is operated | boolean |
| validating | Whether is in validating | boolean |

1
components/form/index.zh-CN.md

@ -410,6 +410,7 @@ Form 仅会对变更的 Field 进行刷新,从而避免完整的组件刷新
| 名称 | 说明 | 类型 |
| ---------- | ---------------- | ------------------------ |
| errors | 错误信息 | string\[] |
| warnings | 警告信息 | string\[] |
| name | 字段名称 | [NamePath](#namepath)\[] |
| touched | 是否被用户操作过 | boolean |
| validating | 是否正在校验 | boolean |

Loading…
Cancel
Save