Multiple Field With Path '...' Set 'initialValue'. Can Not Decide Which One To Pick, Using React Js
I'm using ant design library and I have the next code, which is a simple dynamic form like here: https://codesandbox.io/s/clever-frog-gmkgv?file=/index.js Bellow is my code: When
Solution 1:
You need to change your static
<Form.Item
{...field}
name="time1"
to dynamic name
property
<Form.Item
{...field}
name={[field.name, "time1"]}
Post a Comment for "Multiple Field With Path '...' Set 'initialValue'. Can Not Decide Which One To Pick, Using React Js"