mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 07:56:28 +08:00
docs: Fix Form.List operation doc table
This commit is contained in:
parent
05d7176c74
commit
f8dc2231d5
@ -193,11 +193,11 @@ Note: You should not configure Form.Item `initialValue` under Form.List. It alwa
|
||||
|
||||
Some operator functions in render form of Form.List.
|
||||
|
||||
| Property | Description | Type | Default |
|
||||
| --- | --- | --- | --- |
|
||||
| add | add form item | (defaultValue?: any, insertIndex?: number) => void | insertIndex: 4.6.0 |
|
||||
| move | move form item | (from: number, to: number) => void | - |
|
||||
| remove | remove form item | (index: number \| number\[]) => void | number\[]: 4.5.0 |
|
||||
| Property | Description | Type | Default | Version |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| add | add form item | (defaultValue?: any, insertIndex?: number) => void | insertIndex | 4.6.0 |
|
||||
| move | move form item | (from: number, to: number) => void | - | |
|
||||
| remove | remove form item | (index: number \| number\[]) => void | number\[] | 4.5.0 |
|
||||
|
||||
## Form.ErrorList
|
||||
|
||||
|
@ -192,11 +192,11 @@ Form 通过增量更新方式,只更新被修改的字段相关组件以达到
|
||||
|
||||
Form.List 渲染表单相关操作函数。
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
| ------ | ---------- | -------------------------------------------------- | ------------------ |
|
||||
| add | 新增表单项 | (defaultValue?: any, insertIndex?: number) => void | insertIndex: 4.6.0 |
|
||||
| move | 移动表单项 | (from: number, to: number) => void | - |
|
||||
| remove | 删除表单项 | (index: number \| number\[]) => void | number\[]: 4.5.0 |
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
| ------ | ---------- | -------------------------------------------------- | ----------- | ----- |
|
||||
| add | 新增表单项 | (defaultValue?: any, insertIndex?: number) => void | insertIndex | 4.6.0 |
|
||||
| move | 移动表单项 | (from: number, to: number) => void | - | |
|
||||
| remove | 删除表单项 | (index: number \| number\[]) => void | number\[] | 4.5.0 |
|
||||
|
||||
## Form.ErrorList
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user