System Information
- Strapi Version: "4.3.3
- Operating System: macOS 12.2.1
- Database: mysql
- Node Version: 16.13.0
- NPM Version: 8.1.0
- Yarn Version: 1.22.19
I have a collection that looks like this:
field1 (string)
details (repeatable-component) {
…
photo (file field)
…
}
to upload the image into the “photo” filed, I am creating formData from frontend application with following name files.details[0].photo
formData.append(
files.details[0].photo, photo, photo.name )
The file gets uploaded and is visible in the media library, but not linked to the photo field inside the collection. What am I possibly doing wrong here?