DEV Community

Discussion on: File validation in Angular Reactive Form

Collapse
 
avinashseth profile image
Avinash Seth

how would you display validation errors ?

Collapse
 
ajayojha profile image
Ajay Ojha

if you have created a FormGroup through FormBuilder then use errors property of respective FormControl or use 'errorMessage' property if you have created a FormGroup through RxFormBuilder.