I need to set a value in a nested control in a FormBuiler and the model is the following:
this.addAccForm = this.fb.group({ accid: [\'\', Validators.re
Here is the code for working for me.
I am using Angular Version "^6.0.0"
var formArray = this.addAccForm.get("cyc") as FormArray; formArray.at(0)["controls"]["cycid"].patchValue("Value that you want to pass");