removeAfterUpload : Only if success? #331
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi,
First of all, congrats for this awesome component!
Is it possible to set removeAfterUpload to true, only on success upload ?
Because on error, files are removed from queue, and user does'nt see the error status.
Many thanks,
you can easily do it yourself this way
just add the following code to your component :
assuming you named your FileUploader uploader this code will do the trick, and therfore you should not use the «removeAfterUpload» option when building your FileUploader.