1

In dropzone we have a removedFile event, which is fired after file is removed.

What I need is an event that is fired before file is removed, so that I can trigger removal from server and if it succeeds then will remove a file from dropzone, otherwise file from dropzone will not be removed and error message will be shown.

Any idea ?

Suren Aznauryan
  • 984
  • 10
  • 24
  • I would make my own remove links (instead of using the default) that first sends the request to the server. On success programmatically removes the item from dropzone. – Cloud_Ratha Sep 10 '18 at 09:29
  • That is the last thing I will do, just want to know if there is an inbuilt way that is maybe not documented – Suren Aznauryan Sep 10 '18 at 09:57

0 Answers0