recative form set all form values at once code example
Example: reactive form programmatically set value
this.formRef.patchValue({
field: value1,
field2: value2,
/* ... */
});
this.formRef.patchValue({
field: value1,
field2: value2,
/* ... */
});