You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
While it's mentioned in the upload action docs, I'm pretty sure it's impossible to upload more than one file or use a file input with the multiple attribute in the first place.
If I'm not mistaken, there are two things that can't possibly work:
To upload multiple files we need to add [] to the input name, but Uniform can't handle this (?)
The file validator can't possible handle multiple files. It will always fail since there's an additional array around this array with the error key.
To Reproduce
Steps to reproduce the behavior:
Add a file input with multiple to your form.
Try to upload multiple files
See error
Was this ever possible/tested or am I missing something?
The text was updated successfully, but these errors were encountered:
I just tested this. The form submission and validation worked ... but only for the last of the selected files. So there is no error but the action cannot handle file arrays either. What should work is multiple discrete file fields to upload multiple files. I'll mark this as a bug. File fields with multiple should be supported and files should not get silently lost.
Describe the bug
While it's mentioned in the upload action docs, I'm pretty sure it's impossible to upload more than one file or use a file input with the
multiple
attribute in the first place.If I'm not mistaken, there are two things that can't possibly work:
[]
to the input name, but Uniform can't handle this (?)error
key.To Reproduce
Steps to reproduce the behavior:
multiple
to your form.Was this ever possible/tested or am I missing something?
The text was updated successfully, but these errors were encountered: