Constructor
# new PasswordValidator(errorMessageopt)
Handles Password Validation
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
errorMessage |
string
|
<optional> |
defaults to |
Extends
Methods
# hasErrors(value, optionsopt) → {string|undefined}
Validates a model
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
value |
string
|
|||
options |
PatternValidatorOptions
|
<optional> |
{} |
- Overrides:
- See:
View Source validation/Validators/PasswordValidator.ts, line 69
If no pattern is provided in the options
Error
string
|
undefined