Skip to content

Commit 1cee6ff

Browse files
Merge pull request #2017 from iamfaran/fix/2005-input-validation
[Fix]: #2005 correctly show validation errors when 0
2 parents e98afcc + 1f567b6 commit 1cee6ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/packages/lowcoder/src/comps/controls/labelControl.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ export const LabelControl = (function () {
254254

255255
{args.help && (
256256
args.showValidationWhenEmpty
257-
|| (!args.showValidationWhenEmpty && Boolean(inputValue))
257+
|| (!args.showValidationWhenEmpty && (inputValue !== null && inputValue !== undefined && inputValue !== ""))
258258
) && (
259259
<HelpWrapper
260260
$marginLeft={

0 commit comments

Comments
 (0)