From a73a13a01d4c40341f060f268446c70362fa85d0 Mon Sep 17 00:00:00 2001
From: GalBrigitta <52039781+GalBrigitta@users.noreply.github.com>
Date: Fri, 30 Jun 2023 12:24:18 +0300
Subject: [PATCH 1/3] Update Uploader.vue
Ability to use Uploader twice or more in one component, so I added an input id param
---
src/Uploader.vue | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/Uploader.vue b/src/Uploader.vue
index a6561f0..636b9d8 100644
--- a/src/Uploader.vue
+++ b/src/Uploader.vue
@@ -11,7 +11,7 @@
-
@@ -115,7 +115,11 @@
warnings:{
type: Boolean,
default: true
- }
+ },
+ inputId:{
+ type: String,
+ default: 'mu-file-input'
+ }
},
mounted() {
this.init()
From 90a11e6d825ca2452d0656df47bf8a156466a6e7 Mon Sep 17 00:00:00 2001
From: GalBrigitta <52039781+GalBrigitta@users.noreply.github.com>
Date: Mon, 3 Jul 2023 17:24:47 +0300
Subject: [PATCH 2/3] Update Uploader.vue
Adding dynamic folder as the media id, as using laravel spatie package and the folder structure is like that. Also adding a param if this is used, default is false.
---
src/Uploader.vue | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/src/Uploader.vue b/src/Uploader.vue
index 636b9d8..2e18454 100644
--- a/src/Uploader.vue
+++ b/src/Uploader.vue
@@ -32,7 +32,7 @@
-
![]()
+