Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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)

AltStyle によって変換されたページ (->オリジナル) /