From c07301a929488becfa2d10a87b73712fef869e9c Mon Sep 17 00:00:00 2001 From: Eva Marco Date: Tue, 19 May 2026 09:00:14 +0200 Subject: [PATCH] :bug: Fix typing full token name on numeric input --- frontend/src/app/main/ui/ds/controls/numeric_input.cljs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/frontend/src/app/main/ui/ds/controls/numeric_input.cljs b/frontend/src/app/main/ui/ds/controls/numeric_input.cljs index 74e6b9c95a..1ca9342d85 100644 --- a/frontend/src/app/main/ui/ds/controls/numeric_input.cljs +++ b/frontend/src/app/main/ui/ds/controls/numeric_input.cljs @@ -421,7 +421,8 @@ token (get-option-by-name options name)] (if token (apply-token (:resolved-value token) name) - (apply-value (mf/ref-val last-value*))))) + (apply-value (mf/ref-val last-value*)))) + (reset! is-open* false)) enter? (if is-open @@ -692,8 +693,10 @@ token-props (when (and token-applied-name (not= :multiple token-applied-name)) - (let [token (get-option-by-name dropdown-options token-applied-name) - id (get token :id) + (let [token (get-option-by-name @dropdown-options token-applied-name) + id (or (get token :id) + (some-> (get token-applied :id) + (dm/str))) label (or (get token :name) applied-token-name) token-value (or (get token :resolved-value) (or (mf/ref-val last-value*)