mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 17:44:35 +08:00
fix typo (#25525)
This commit is contained in:
parent
24abadd994
commit
b3a7ed5575
@ -312,7 +312,7 @@ validator(rule, value, callback) => {
|
||||
|
||||
### How does name fill value when it's array?
|
||||
|
||||
`name` will fill value by array order. When there exists number in it and no related field in form store, it will auto convert field to array. If you want to keep it as object, use string like: `['1', ''name]`.
|
||||
`name` will fill value by array order. When there exists number in it and no related field in form store, it will auto convert field to array. If you want to keep it as object, use string like: `['1', 'name']`.
|
||||
|
||||
### Why is there a form warning when used in Modal?
|
||||
|
||||
|
@ -313,7 +313,7 @@ validator(rule, value, callback) => {
|
||||
|
||||
### name 为数组使的转换规则?
|
||||
|
||||
当 `name` 为数组时,会按照顺序填充路径。当存在数字且 form store 中没有该字段时会自动转变成数组。因而如果需要数组为 key 时请使用 string 如:`['1', ''name]`。
|
||||
当 `name` 为数组时,会按照顺序填充路径。当存在数字且 form store 中没有该字段时会自动转变成数组。因而如果需要数组为 key 时请使用 string 如:`['1', 'name']`。
|
||||
|
||||
### 为何在 Modal 中调用 form 控制台会报错?
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user