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

Remove uploaded documents #2131

Closed
yamila-fraiman opened this issue Mar 14, 2020 · 2 comments · Fixed by #2284
Closed

Remove uploaded documents #2131

yamila-fraiman opened this issue Mar 14, 2020 · 2 comments · Fixed by #2284
Assignees
Labels

Comments

@yamila-fraiman
Copy link

I use uppy in a profile form where users can upload profile pictures and save information. They can also edit their profile so I set dashboard value by adding files programmatically and setting uploadComplete and uploadStarted to true. I need an individual delete button for each file to allow them to remove unwanted photos and save changes to their profiles.
I know there is a remove-file method but I need to display a button in each row.

@arturi
Copy link
Contributor

arturi commented Mar 24, 2020

Hi! This is our consensus on the “remove file” feature so far:

dashboard: if you specified a delete endpoint, the “remove/cancel upload” button remains after the upload and it not only removes, but also sends a request to that endpoint #1216, #832 <-- not doing this anymore because #589 (comment)

We might consider supporting removing files in a separate “media gallery” Uppy plugin in the future.

@yamila-fraiman
Copy link
Author

If the library just display a delete button developers can implement their own delete logic. I really like this plugin but I must be able to edit uploaded data.

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

Successfully merging a pull request may close this issue.

2 participants