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
Is there a way to implement a way to clear all the files loaded after the upload is finished without refreshing the page? If you upload one file and then try to upload the same one again, it won't work because fileLoaded isn't called again.
The text was updated successfully, but these errors were encountered:
I know I'm commenting on an old issue, but I was stumped on this for a while.
I needed this feature for a validation on a file. Once the file's data was fixed, sometimes the file size remained the same; thus the erroneous file that was loaded is not cleared even though the contents were different.
I used this $('input[type=file]').val(''); to clear the loaded file, so the same file with the same size but different contents can be uploaded again. I don't think it's very elegant, but it works for my use case and hopefully will help someone if they have the same issue :)
Is there a way to implement a way to clear all the files loaded after the upload is finished without refreshing the page? If you upload one file and then try to upload the same one again, it won't work because fileLoaded isn't called again.
The text was updated successfully, but these errors were encountered: