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