From e7a8c25883b805e4665e10820437c0b6ccebee95 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 10 Jun 2024 13:19:10 +0200 Subject: [PATCH] :bug: Fix touched handling on multi-input form component --- frontend/src/app/main/ui/components/forms.cljs | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/app/main/ui/components/forms.cljs b/frontend/src/app/main/ui/components/forms.cljs index ec0066ad2..0b9c2ab71 100644 --- a/frontend/src/app/main/ui/components/forms.cljs +++ b/frontend/src/app/main/ui/components/forms.cljs @@ -378,6 +378,7 @@ :no-padding (pos? (count @items)) :invalid (and (some? valid-item-fn) touched? + (not (str/empty? @value)) (not (valid-item-fn @value))))) on-focus