From aed5388bfd35d1e39d0b9a57befc3eb9dfa1b7f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bel=C3=A9n=20Albeza?= Date: Wed, 10 Jan 2024 17:54:31 +0100 Subject: [PATCH] :bug: Fix radio button component --- frontend/src/app/main/ui/components/radio_buttons.cljs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/frontend/src/app/main/ui/components/radio_buttons.cljs b/frontend/src/app/main/ui/components/radio_buttons.cljs index 9099406a3..92563917a 100644 --- a/frontend/src/app/main/ui/components/radio_buttons.cljs +++ b/frontend/src/app/main/ui/components/radio_buttons.cljs @@ -36,7 +36,7 @@ encode-fn (unchecked-get context "encode-fn") checked? (= selected value)] - [:label {:for id + [:label {:html-for id :title title :key unique-key :class (stl/css-case @@ -104,6 +104,3 @@ [:div {:class (dm/str class " " (stl/css :radio-btn-wrapper)) :style {:width width}} children]])) - - -