From 34cf4014e6bcc15c5f8c8f70d379b25a2b0f57f9 Mon Sep 17 00:00:00 2001 From: XiaoYang <91766792+3351163616@users.noreply.github.com> Date: Thu, 16 Apr 2026 08:48:13 +0800 Subject: [PATCH] fix: prevent numeric input from resetting to zero on blur without edit (#7560) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When a numeric input field was focused but not edited, the blur handler called toNumber(null) which returned 0 via parseFloat(null) → NaN → 0. Now we skip emitting the update when numericTemp is null (no edits made). --- dashboard/src/components/shared/ConfigItemRenderer.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard/src/components/shared/ConfigItemRenderer.vue b/dashboard/src/components/shared/ConfigItemRenderer.vue index 0cdddcde6..58e41f3ab 100644 --- a/dashboard/src/components/shared/ConfigItemRenderer.vue +++ b/dashboard/src/components/shared/ConfigItemRenderer.vue @@ -161,7 +161,7 @@