Template error Type ‘AbstractControl’ is not assignable to type ‘FormControl’

<input type="password" placeholder="Confirm Password" class="form-control" [formControl]="$any(myForm).controls['confirmpassword']"/> 

Use the $any function to disable type checking. I resolved my error by using this.

Leave a Comment

tech