mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-01 14:59:35 +08:00
ed37b80d11
* Update dynamic-form-items.md 原来的代码只有在使用Space包裹多个Form.Item的时候可以跑起来,如果把Space换成div或者其它组件,点击Add Field之后,因为多个Form.Item 通过 {...restField} 指定了相同的key,浏览器会报 Encountered two children with the same key, `0`. Keys should be unique so that components maintain their identity across updates. 换成这种restField的写法可以避免这个问题,让不使用Space包裹多个Form.Item的场景也能跑通不报错。 * Update components/form/demo/dynamic-form-items.md Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: afc163 <afc163@gmail.com> |
||
---|---|---|
.. | ||
advanced-search.md | ||
basic.md | ||
complex-form-control.md | ||
control-hooks.md | ||
control-ref.md | ||
customized-form-controls.md | ||
dep-debug.md | ||
disabled-input-debug.md | ||
dynamic-form-item.md | ||
dynamic-form-items-complex.md | ||
dynamic-form-items.md | ||
dynamic-rule.md | ||
form-context.md | ||
form-in-modal.md | ||
global-state.md | ||
inline-login.md | ||
layout.md | ||
nest-messages.md | ||
normal-login.md | ||
ref-item.md | ||
register.md | ||
required-mark.md | ||
size.md | ||
time-related-controls.md | ||
validate-other.md | ||
validate-static.md | ||
without-form-create.md |