Open A Default Input In Form Tag
I have the next application: https://codesandbox.io/s/uwmig?file=/index.js, There users can add as many fields as they want and add images for each generated input, clicking on add
Solution 1:
If I understand right you need to use initialValues
Here is an updated example of your code https://codesandbox.io/s/compassionate-fermi-4oedx?file=/SubForm.js
...
<Form
name="dynamic_form_item"
{...formItemLayoutWithOutLabel}
onFinish={onFinish}
initialValues={{ names: [""] }}
>
...
Post a Comment for "Open A Default Input In Form Tag"