From 1f567b62a168bfcccd75126e4e3918f5cffced74 Mon Sep 17 00:00:00 2001 From: Faran Javed Date: Thu, 25 Sep 2025 20:39:57 +0500 Subject: [PATCH] [Fix]: #2005 correctly show validation errors when 0 --- client/packages/lowcoder/src/comps/controls/labelControl.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/packages/lowcoder/src/comps/controls/labelControl.tsx b/client/packages/lowcoder/src/comps/controls/labelControl.tsx index bfe9a42c05..e17bea9698 100644 --- a/client/packages/lowcoder/src/comps/controls/labelControl.tsx +++ b/client/packages/lowcoder/src/comps/controls/labelControl.tsx @@ -254,7 +254,7 @@ export const LabelControl = (function () { {args.help && ( args.showValidationWhenEmpty - || (!args.showValidationWhenEmpty && Boolean(inputValue)) + || (!args.showValidationWhenEmpty && (inputValue !== null && inputValue !== undefined && inputValue !== "")) ) && (