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.
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 https://github.com/transloadit/uppy/pull/589#issuecomment-366754294
We might consider supporting removing files in a separate “media gallery” Uppy plugin in the future.
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.
Most helpful comment
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.