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

Display a custom message on Upload complete, including data from the server response #959

Open
1 task done
sparky742 opened this issue Jan 22, 2024 · 3 comments
Open
1 task done

Comments

@sparky742
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

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

https://stackoverflow.com/questions/73422012/custom-success-message-on-filepond-file-upload

Describe the solution you'd like

When a file upload is complete, my server will respond with a custom number value (a reference to the document, for the user). I'd like to display this to the user along with the "Upload complete" message.

Currently, I can only display error information from the server, not success.

Describe alternatives you've considered

I've considered react-dropzone and implementing my own uploader, but I like everything else with Filepond!

@rikschennink
Copy link
Collaborator

It's a static, non-reactive, label there's no way to customize it per file item.

@jgoodall
Copy link

I have the exact same problem, and similarly cannot customize the upload complete message. Based on previous comment, guessing it is impossible.

@rikschennink
Copy link
Collaborator

The only approach I can think of would be to write a custom plugin, and/or detect changes to FilePond child nodes using MutationObserver and then replacing the complete status.

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