Like what we’re doing? Star us on GitHub!

Upload field => hasMany

wikoci
8 months ago
1 2

its possible to link upload field type to many media ?
such as :

{
name:'posters',
type:'upload',
realtionTo:'media',
hasMany:true
}

  • denolfe
    Payload Team
    8 months ago

    I think this could be better achieved by using an array with the upload field on each row.

  • wikoci
    8 months ago

    noted.
    Also I can't upload many files to media collection in one request.

Open the post
Continue the discussion in GitHub
Can't find what you're looking for?
Get help straight from the Payload team with an Enterprise License.Learn More