How do I show a confirmation message before the "removefile" event, in the dropzone?
The dropzone
event removedfile
appears after the delete button is pressed and is therefore not suitable for displaying a confirmation to the user before deleting the image. Are there any other events that can be handled to show a confirmation message to the user before deleting the image?
+3
source to share
1 answer
I know this is a somewhat old question, but I have the same problem and want to share the solution I found in case anyone needs it. If you set the parameter dictRemoveFileConfirmation
to your dropzone option, it will automatically ask for confirmation before the file is removed from the queue.
+1
source to share