From 2960e2883b8e74983514ae2f72fb7593a043837b Mon Sep 17 00:00:00 2001 From: Fabio Ivona Date: Tue, 29 Nov 2022 12:18:10 +0100 Subject: [PATCH] fix Signed-off-by: Fabio Ivona --- resources/js/tools/axios.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/js/tools/axios.js b/resources/js/tools/axios.js index bdabb36..0424922 100644 --- a/resources/js/tools/axios.js +++ b/resources/js/tools/axios.js @@ -69,7 +69,7 @@ window.axios.handle = (error, $form = null, messages = {}) => { let $input = $($form[0].elements[normalized_field]); - if(!$input.hasClass("hide-validation-message")){ + if(!$input.hasClass("hide-validation-message") && $input.closest('.hide-validation-message').length === 0){ let $feedback = $input.find('~.invalid-feedback'); if ($feedback.length === 0) { $feedback = $("
");