From f6432cdcd05322ae500017dbd1ce56ded3d6548a Mon Sep 17 00:00:00 2001 From: chfhtw Date: Fri, 8 Aug 2025 12:26:51 +0200 Subject: [PATCH] accummulate multiple setFeedback calls in Form/Valdation --- public/js/components/Form/Validation.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/js/components/Form/Validation.js b/public/js/components/Form/Validation.js index 75fd7d724..530f6b514 100644 --- a/public/js/components/Form/Validation.js +++ b/public/js/components/Form/Validation.js @@ -23,7 +23,8 @@ export default { if (!Array.isArray(feedback)) feedback = [feedback]; const ts = Date.now(); - this.feedback[valid ? 'success' : 'danger'] = feedback.map(msg => [msg, ts]); + this.feedback[valid ? 'success' : 'danger'] + .push(...feedback.map(msg => [msg, ts])); } }, mounted() {