Closed halafi closed 8 months ago
Hey @halafi,
You can clear the upload list using an undocumented public API. Please refer to https://github.com/uploadcare/blocks/issues/219#issuecomment-1223881802 for more information.
We may implement this feature as a flag in the near future.
at the moment if I upload some files, then close the widget and reopen (the same instance and context) I see previously finished state, this is not always desirable (imagine I delete the uploaded file in another way in the meantime)
at the moment I see as the only option to create a new instance of the component each time, maybe there is a better way? also maybe this could be documented
Additional context
Desired behavior: don't want to see previously uploaded file