From 6a2a26da2e9b8f1b9511799184b907a2e3918487 Mon Sep 17 00:00:00 2001 From: anjaneyasivan Date: Fri, 7 Jul 2023 23:16:23 +0530 Subject: [PATCH] fix: Clicking on dropzone component triggers onsubmit event on parent form #906 --- src/lib/forms/Dropzone.svelte | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/forms/Dropzone.svelte b/src/lib/forms/Dropzone.svelte index c810465cd..bc9be316c 100644 --- a/src/lib/forms/Dropzone.svelte +++ b/src/lib/forms/Dropzone.svelte @@ -27,7 +27,9 @@ on:dragenter on:dragleave on:dragover - on:drop> + on:drop + type="button" + >