I keep encountering the following error:
formGroup expects a FormGroup instance. Please pass one in.
This is how it looks in HTML:
<mat-step [stepControl]="firstFormGroup">
<form [formGroup]="firstFormGroup">
And in my TypeScript file, I have this:
firstFormGroup!: FormGroup;