From d50a463cb873ec62f61fd8d353ccc05f62dd6b46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Brugarolas?= Date: Tue, 13 Oct 2020 05:12:52 +0200 Subject: [PATCH] Fix vsButton elem with no type="button" causing submit if inside a form --- src/components/vsUpload/vsUpload.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/vsUpload/vsUpload.vue b/src/components/vsUpload/vsUpload.vue index fa3567bcd..8cf2fa57c 100644 --- a/src/components/vsUpload/vsUpload.vue +++ b/src/components/vsUpload/vsUpload.vue @@ -35,6 +35,7 @@ height: `${img.percent}%` }" class="btn-upload-file" + type="button" @click="upload(index)">