Skip to content

Callback when no file was valid #867

Open

Description

@OldrichTodt

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

Activity

  1. dotanMly commented on Nov 16, 2019

    @dotanMly

    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

  2. OldrichTodt commented on Nov 18, 2019

    @OldrichTodt
    Author

    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.

  3. ygj6 commented on Dec 6, 2019

    @ygj6
    Collaborator

    You can try filters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions