angular 9 reactive forms dynamically add control to form group code example
Example: formgroup addcontrol
let form: FormGroup = new FormGroup({});
form.addControl(field_name, new FormControl('', Validators.required));
let form: FormGroup = new FormGroup({});
form.addControl(field_name, new FormControl('', Validators.required));