Firmware page vuelidate and form file error fix
While add a file in the form file vuelidate error occurs and global
component form file not return a file, by emit the $event in form file
fix the issue.
Change-Id: Icbeddc7a3faa262f12e85268206ae70950f37905
Signed-off-by: Surya Venkatesan <suryav@ami.com>
diff --git a/src/components/Global/FormFile.vue b/src/components/Global/FormFile.vue
index ccdc038..bb3b46f 100644
--- a/src/components/Global/FormFile.vue
+++ b/src/components/Global/FormFile.vue
@@ -8,7 +8,7 @@
:disabled="disabled"
:state="state"
plain
- @input="$emit('input', file)"
+ @input="$emit('input', $event)"
>
</b-form-file>
<span