We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4eb8c42 + 312c532 commit 17e982bCopy full SHA for 17e982b
lib/src/identity/password_validator.dart
@@ -79,6 +79,6 @@ class PasswordValidator extends BaseValidator<String> {
79
),
80
],
81
).call(valueCandidate);
82
- return result != null && errorText != '' ? errorText : result;
+ return result != null ? errorText ?? result : null;
83
}
84
0 commit comments