-
Notifications
You must be signed in to change notification settings - Fork 2k
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
getFileList #5662
Comments
To what existing input? We expose many events so you can do whatever you want at certain moments in time. |
I have a form which has a file input with multiple attribute. In this case Uppy does not handle the file upload at all, but files are uploaded when the form is submitted. Uppy acts here as a mean to select multiple files before the actual upload. In order for the file input to be synced with Uppy, I need to assign FileList to the input every time when I add or remove file with Uppy. Is there any other way to achieve what I want without getting the actual FileList as described above? |
Have you looked at https://uppy.io/docs/form/? |
I don't need it since I already handle form submission. Also the example code inside |
Initial checklist
Problem
I need to assign files back to an existing file input like this:
fileInput.files = uppy.getFiles();
Solution
Add a new method to uppy core:
Alternatives
The text was updated successfully, but these errors were encountered: