blob: 036ee1721dad343a9effbe7c72cbba1f8e5b877e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
import { Validators } from '@angular/forms';
export const VIDEO_REPORT_REASON = {
VALIDATORS: [ Validators.required, Validators.minLength(2), Validators.maxLength(300) ],
MESSAGES: {
'required': 'Report reason name is required.',
'minlength': 'Report reson must be at least 2 characters long.',
'maxlength': 'Report reson cannot be more than 300 characters long.'
}
};
|