programmatically set value in angular reactive form code example
Example: reactive form programmatically set value
this.formRef.patchValue({
field: value1,
field2: value2,
/* ... */
});
this.formRef.patchValue({
field: value1,
field2: value2,
/* ... */
});