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