From 6b60b10cfb94304cd43e1dfe036386c11cc65057 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bel=C3=A9n=20Albeza?= Date: Thu, 8 Feb 2024 13:12:06 +0100 Subject: [PATCH] :bug: Fix multi radius input being reset to zero on blur --- frontend/src/app/main/ui/components/numeric_input.cljs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/app/main/ui/components/numeric_input.cljs b/frontend/src/app/main/ui/components/numeric_input.cljs index 4c2b2c5757..308ef8e427 100644 --- a/frontend/src/app/main/ui/components/numeric_input.cljs +++ b/frontend/src/app/main/ui/components/numeric_input.cljs @@ -59,8 +59,7 @@ dirty-ref (mf/use-ref false) ;; Last value input by the user we need to store to save on unmount - - last-value* (mf/use-var nil) + last-value* (mf/use-var value) parse-value (mf/use-fn