当前位置:网站首页>[pit avoidance means "difficult"] the antd form dynamic form is deleted, and the first line is displayed by default

[pit avoidance means "difficult"] the antd form dynamic form is deleted, and the first line is displayed by default

2022-06-25 13:16:00 Coconut brine Engineer

 Insert picture description here
The default is through Button Button implementation From.item The addition of .

If we enter at least one piece of data by default , That is, the first line of input box is displayed by default , It can be configured like this :

 <Form.List  initialValue={
    [{
    }]}>
 </Form.List>

 Insert picture description here

原网站

版权声明
本文为[Coconut brine Engineer]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202200526312965.html