From 4c5913188901298afd3a1356cc266ad1790caaab Mon Sep 17 00:00:00 2001 From: mertsincan Date: Thu, 26 Aug 2021 11:27:38 +0300 Subject: [PATCH] Fixed #1399 - FileUpload Invalid File messages not displaying on repeat attempts --- src/components/fileupload/FileUpload.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/fileupload/FileUpload.vue b/src/components/fileupload/FileUpload.vue index e43a6f822..31e73b75e 100755 --- a/src/components/fileupload/FileUpload.vue +++ b/src/components/fileupload/FileUpload.vue @@ -11,7 +11,7 @@
- {{msg}} + {{msg}}
@@ -30,7 +30,7 @@
- {{msg}} + {{msg}} {{basicChooseButtonLabel}} @@ -397,6 +397,9 @@ export default { if (this.isFileLimitExceeded()) { this.messages.push(this.invalidFileLimitMessage.replace('{0}', this.fileLimit.toString())) } + }, + onMessageClose() { + this.messages = null; } }, computed: {