Check out example codes for "reactive form programmatically set value". It will help you in understanding the concepts better.

Code Example 1

this.formRef.patchValue({
    field: value1,
    field2: value2,
    /* ... */
  });

Learn ReactJs, React Native from akashmittal.com