]>
Commit | Line | Data |
---|---|---|
df98563e | 1 | import { Validators } from '@angular/forms' |
4f8c0eb0 | 2 | |
11ac88de | 3 | export const VIDEO_ABUSE_REASON = { |
4f8c0eb0 C |
4 | VALIDATORS: [ Validators.required, Validators.minLength(2), Validators.maxLength(300) ], |
5 | MESSAGES: { | |
0727cab0 C |
6 | 'required': 'Report reason is required.', |
7 | 'minlength': 'Report reason must be at least 2 characters long.', | |
8 | 'maxlength': 'Report reason cannot be more than 300 characters long.' | |
4f8c0eb0 | 9 | } |
df98563e | 10 | } |