This is just a basic input element I have in my form which I need to set its default initial value.
<input type="number" name="interest_rate" [(ngModel)]="interest_rate">
In my code, I added
this.form.controls['interest_rate'].patchValue(this.assumptions.interest_rate*100);
But I'm getting
Error: Error in :0:0 caused by: Cannot read property 'patchValue' of undefined