Simple-Demo : what is "remove" supposed to do ? #301
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?
Hello,
I don't see any server call when I click on REMOVE or REMOVE-ALL. Isn't it supposed to notify the server to remove the upload file ?
Do you have a more complete demo (or docs ?) ?
thank you
Remove means remove from queue.
in that case, why is it still possible to remove a file once it has been uploaded ? It makes no sense.
thank you
You can also remove the file from queue before uploading. If you want to remove file from queue automatically after upload, you may set removeAfterUpload option to true.
22307d266f/components/file-upload/file-uploader.class.ts (L29)We need some callback like onAfterRemoveItem where we can send API call to remove the uploaded file.
We can skip the remove API call if the file not yet uploaded.
I solved it like this