From f3223a6ba1923e531cf1de2fc9178101a9fa2ea6 Mon Sep 17 00:00:00 2001 From: Mohsin Anees Date: Mon, 18 Jan 2021 01:54:32 +0500 Subject: [PATCH] Cropper button type defined as 'button' (#62) As discussed in pull request vugar005/ngx-awesome-uploader/pull#61, added explicit button type="button" to stop form from being submitted pre-maturely. --- projects/file-picker/src/lib/file-picker.component.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/file-picker/src/lib/file-picker.component.html b/projects/file-picker/src/lib/file-picker.component.html index aa3a955..fccb94d 100644 --- a/projects/file-picker/src/lib/file-picker.component.html +++ b/projects/file-picker/src/lib/file-picker.component.html @@ -32,11 +32,12 @@ (load)="cropperImgLoaded($event)" />
-