Replies: 2 comments
-
Hey @hamavb There are at least a couple of ways to remove files from Uploady's batch. There is the simple File Filter method, this is the way to remove automatically based on application logic. Then there is the way to do it using what I call the Queue approach. The term I used is "abort" but for the end-user this can be made to behave and look the same as delete/remove. UploadQueue Guide As I mentioned, the "delete function" is actually implemented as "abort" using the useAbortItem, useAbortBatch, and useAbortAll hooks. |
Beta Was this translation helpful? Give feedback.
-
moving to discussions |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
a possible way to remove file from a batch.
after adding files (especially a large amount of files) users may want to remove some of them before event starting the upload process. and unfortunately, there's no way to do it. i think it will be possible if the internal state was exposed.
Describe the solution you'd like
add
delete
function to the api that allow remove files from batchs if those files are not inFILE_STATES.UPLOADING
stateBeta Was this translation helpful? Give feedback.
All reactions