I have this Field in my react final form, i need to pass setstate to storage files before submit the form.
<Field name={`item_lateral[${index}].image_lateral[0].path_image_lateral`}>
{props => (
<div>
<ImageInput {...props} />
</div>
)
}
</Field>
I am using this link example Form to create my customField, but i need pass more props, like setLateralImages, setNewImage, but i can not how to do it....
Someone can help me? THanks