From f1f5a306247823e57c9a9b3321553400be156e94 Mon Sep 17 00:00:00 2001 From: Eva Marco Date: Thu, 2 Jul 2026 13:01:58 +0200 Subject: [PATCH] :bug: Fix alignment selector for strokes (#10532) --- frontend/src/app/main/ui/ds/controls/select.cljs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/app/main/ui/ds/controls/select.cljs b/frontend/src/app/main/ui/ds/controls/select.cljs index a09fe3f263..337d9f3b51 100644 --- a/frontend/src/app/main/ui/ds/controls/select.cljs +++ b/frontend/src/app/main/ui/ds/controls/select.cljs @@ -204,6 +204,10 @@ (mf/with-effect [options] (mf/set-ref-val! options-ref options)) + (mf/with-effect [default-selected options] + (reset! selected-id* + (get-selected-option-id options default-selected))) + [:div {:class [wrapper-class (stl/css :select-wrapper)] :on-click on-click :ref select-ref