Closed binsarjr closed 2 months ago
Are you missing a period in the path?
<FormFileUpload
name={`ImgProduct[${i}] (missing period here?) img`}
/>
Ah, sorry, it turns out I was wrong, it turns out that to create a nested value you have to create it programmatically like this. can't just write the input name directly in the input form
Thanks
Schema:
but instead it became an array like this
i'm already using
dataTypes:'json'