Callback when no file was valid
OldrichTodt opened this issue · 3 comments
Hi,
I am using angular-file-upload v.2.5.0
and there is callback named onAfterAddingAll
which is triggered only if some file was added to the queue. But if none file was added, the callback is not triggered. Is there any way to get callback like onAfterTryAddingAll
which triggers after processing all files no matter if some file was added to the queue?
Regards,
Todt
You could've use onWhenAddingFileFailed and in the callback you will have the item and the message . You can explore the Sample directory for more information
My goal is to aggregate errors. But if the user selects files that none was valid, then I do not receive a callback after that action and I can't determinate if adding to the queue was already processed or not.