blob: 5b911ac47c88df268f3777837273d1da5b5b2058 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import { Validators } from '@angular/forms'
import { BuildFormValidator } from './form-validator.model'
export const LOGIN_USERNAME_VALIDATOR: BuildFormValidator = {
VALIDATORS: [
Validators.required
],
MESSAGES: {
required: $localize`Username is required.`
}
}
export const LOGIN_PASSWORD_VALIDATOR: BuildFormValidator = {
VALIDATORS: [
Validators.required
],
MESSAGES: {
required: $localize`Password is required.`
}
}
|