Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there an event for all files processed (with or without error) [Feature] #237

Open
1 task done
horaceho opened this issue Feb 15, 2022 · 2 comments
Open
1 task done

Comments

@horaceho
Copy link

horaceho commented Feb 15, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe.

As stated #27 (comment)

  • onprogressfile -> @progressfile (a file finished uploaded without error)
  • onprogressfiles -> @progressfiles (all files finished without error)
    Is there a event for:
  • all files finished with error?

Describe the solution you'd like

I'd like to receive a notification when filepond has finished handling any file drag into it, no matter there is error or not. For to add an error parameter in @progressfiles. Such that @progressfiles is always fired, and the error param indicates any error in the process.

        handleProcessedFiles(error) {
             if (error) {
               // something wrong ...
             }
        }

Describe alternatives you've considered

...

@horaceho horaceho changed the title Is there an event for all files [Feature] Is there an event for all files processed (with or without error) [Feature] Feb 15, 2022
@rikschennink
Copy link
Collaborator

There is not, I'll leave this open as a feature request.

@sawirricardo
Copy link

any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants