From dccfdb23b4e66d5225dbb61fe24abff60ac8416a Mon Sep 17 00:00:00 2001 From: Mohsin Anees Date: Fri, 15 Jan 2021 14:37:40 +0500 Subject: [PATCH] Browse button type defined as 'button' (#61) HTML5 dictates that all buttons inside
whose type is not defined default to type="submit". This proves to be a problem when using this uploader inside a form. --- projects/file-picker/src/lib/file-drop/file-drop.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/file-picker/src/lib/file-drop/file-drop.component.html b/projects/file-picker/src/lib/file-drop/file-drop.component.html index 63b4553..4e1cc6e 100644 --- a/projects/file-picker/src/lib/file-drop/file-drop.component.html +++ b/projects/file-picker/src/lib/file-drop/file-drop.component.html @@ -14,7 +14,7 @@
{{captions?.dropzone?.or}}
-