blob: 42a97e3005c02cb157d7e36a2d26472131cf4cfb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
import { Validators } from '@angular/forms'
export const VIDEO_COMMENT_TEXT = {
VALIDATORS: [ Validators.required, Validators.minLength(2), Validators.maxLength(3000) ],
MESSAGES: {
'required': 'Comment is required.',
'minlength': 'Comment must be at least 2 characters long.',
'maxlength': 'Comment cannot be more than 3000 characters long.'
}
}
|