Upload field => hasMany

default discord avatar
wikoci
last year
1 2

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

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

  • discord user avatar
    denolfe
    Payload Team
    last year

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

  • default discord avatar
    wikoci
    last year

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

Open the post
Continue the discussion in GitHub
Like what we're doing?
Star us on GitHub!

Star

Connect with the Payload Community on Discord

Discord

online

Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.