Hi,
I'm using the upload control where the user is allowed to upload multiple files at the same time in async mode.
On the select event I check if the files are of the correct filetype, if any file is of the wrong type I stop the upload with e.preventDefault().
However I would like to just remove the file that isn't allowed and continue to upload the rest of the files. Is it possible to remove files from e.files in the select event?
I'm using the upload control where the user is allowed to upload multiple files at the same time in async mode.
On the select event I check if the files are of the correct filetype, if any file is of the wrong type I stop the upload with e.preventDefault().
However I would like to just remove the file that isn't allowed and continue to upload the rest of the files. Is it possible to remove files from e.files in the select event?