mirror of
https://github.com/ant-design/ant-design.git
synced 2025-07-31 12:18:42 +08:00
docs: Add dynamic multiple fields demo (#22247)
This commit is contained in:
parent
1ec4656a75
commit
6d9f010dc2
@ -7,11 +7,11 @@ title:
|
|||||||
|
|
||||||
## zh-CN
|
## zh-CN
|
||||||
|
|
||||||
动态增加、减少表单项。
|
动态增加、减少表单项。如果需要动态支持多项字段时,可以参考[此处](https://codesandbox.io/s/wonderful-lichterman-br63z)。
|
||||||
|
|
||||||
## en-US
|
## en-US
|
||||||
|
|
||||||
Add or remove form items dynamically.
|
Add or remove form items dynamically. You can ref [this example](https://codesandbox.io/s/wonderful-lichterman-br63z) if you want to support mutiple fields.
|
||||||
|
|
||||||
```jsx
|
```jsx
|
||||||
import { Form, Input, Button } from 'antd';
|
import { Form, Input, Button } from 'antd';
|
||||||
|
Loading…
Reference in New Issue
Block a user