angular 10 form control validation code example
Example: angular9+how+to+add+validators
this.form.controls["firstName"].setValidators([Validators.minLength(1), Validators.maxLength(30)]);
this.form.controls["firstName"].setValidators([Validators.minLength(1), Validators.maxLength(30)]);