From 667481654789869a801fe6180fcf53ca94f92cae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Madis=20N=C3=B5mme?= Date: Wed, 18 Dec 2024 12:42:50 -0600 Subject: [PATCH] Show selected value on dropdowns on mobiles --- ui/src/ethlance/ui/component/select_input.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/ethlance/ui/component/select_input.cljs b/ui/src/ethlance/ui/component/select_input.cljs index 2b8ee939..2b438b32 100644 --- a/ui/src/ethlance/ui/component/select_input.cljs +++ b/ui/src/ethlance/ui/component/select_input.cljs @@ -81,7 +81,7 @@ [:div.main {:title (or (label-fn current-selection) label) :on-click #(swap! *open? not)} - [:span.label (or (label-fn current-selection) label)] + [:span.label.selected-value (or (label-fn @*current-default-selection) label)] [c-icon {:class "icon" :name (if @*open? :ic-arrow-up :ic-arrow-down) :color icon-color