set form manually to invalid angular 2+
Try this:
myForm.setErrors({ 'invalid': true });
Try this
formData.form.controls['email'].setErrors({'incorrect': true});
Try this:
myForm.setErrors({ 'invalid': true });
Try this
formData.form.controls['email'].setErrors({'incorrect': true});