Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple files attachment #74

Open
Alexandre-cibot opened this issue Apr 11, 2021 · 2 comments
Open

Multiple files attachment #74

Alexandre-cibot opened this issue Apr 11, 2021 · 2 comments

Comments

@Alexandre-cibot
Copy link

Alexandre-cibot commented Apr 11, 2021

FIrstly, thank you for your product.

TLDR; "AttachmentList Field" fails to handle multiple files

My issue is more about the website CMS than the SDK, but i don't know where to post it.

I have a Model witch have a field "AttachmentList Field".
One of my Content is an instance of this model, and when I try to select multiple files, on the interface it seems to work. After publishing it I realize that only one file is used, the last one only.

So currently impossible to attach multiple files.

If it is not clear, I can try to explain differently.

@joelvarty
Copy link
Member

@joshua-isaac are you able to confirm this?

@joshua-isaac
Copy link

joshua-isaac commented Apr 12, 2021

FIrstly, thank you for your product.

TLDR; "AttachmentList Field" fails to handle multiple files

My issue is more about the website CMS than the SDK, but i don't know where to post it.

I have a Model witch have a field "AttachmentList Field".
One of my Content is an instance of this model, and when I try to select multiple files, on the interface it seems to work. After publishing it I realize that only one file is used, the last one only.

So currently impossible to attach multiple files.

If it is not clear, I can try to explain differently.

@Alexandre-cibot hello alexander!

thanks for reaching out about this issue. upon testing on my end I can confirm that we do have a bug for the attachment list field. it appears like it only keeps the last file added to the list.

a work-around, for now, could be to create a nested content list with an attachment field. this allows you to also add metadata such as an image, whereas you cant add metadata in an attachment list.

alternatively, you can also use a gallery field, and under advanced settings, enter the valid file types you wish to use.

i've created a ticket for this so the rest of the team is aware of this issue.

also, feel free to join the Agility CMS community slack channel :)

thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants