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.
1 parent 4eb8c42 commit 312c532Copy full SHA for 312c532
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