-
Notifications
You must be signed in to change notification settings - Fork 47
Closed
Labels
Description
Migrating my own request https://www.w3.org/Bugs/Public/show_bug.cgi?id=17125 :
Currently a FileList provided by a file input element is readonly.
This is problematic if the user added multiple files to a file list and then sees that he included one file too much and want's to remove it before uploading the files. Right now he has to start his selection from scratch.
If there was a way to drop items from a FileList some JavaScript could display a list of selected files and allow to remove items one-by-one.
Duplicate https://www.w3.org/Bugs/Public/show_bug.cgi?id=16834 adds another use case:
- Checking the file.size for some limit before uploading, if limit is exceeded exclude the particular file from uploading.
#24 discusses an alternative approach, fitting a wider range of use cases.