title: TypeError: value.forEach is not a function TypeError: value.forEach is not a function at FormArray.patchValue
body: <p>I am getting this error: </p>
  
  <pre><code>ERROR Error: Uncaught (in promise): TypeError: value.forEach is not a function
  TypeError: value.forEach is not a function
      at FormArray.patchValue.
  </code></pre>
  
  <p>I am getting data from Laravel and I want these data to display in a FormArray. </p>
  
  <p>My code looks like this:</p>
  
  <pre class="lang-js prettyprint-override"><code>this.http.get("http://data_dink" + '/' + event.value)
   .toPromise().then(data =&gt; 
   {
      console.log(data);
      this.getSelectedServiceData = data;
      console.log(this.getSelectedServiceData.service);
      this.addForm.get('services').patchValue(this.getSelectedServiceData.service);
   });
  </code></pre>
  
  <p><code>data</code> variable (response from get request) has such object:</p>
  
  <pre><code>{
     "msg":"Service Information",
     "service":{
        "id":1,
        "name":"Web Development",
        "description":"Test per web development",
        "price":"200.00",
        "created_at":"2020-05-04T03:07:28.000000Z",
        "updated_at":"2020-05-06T03:07:28.000000Z",
        "view_service":{
           "href":"api\/v1\/service\/1",
           "method":"GET"
        }
     }
  }
  </code></pre>
  
  <p>FormArray built from this object: </p>
  
  <pre><code>{
     "msg":"List of all services",
     "services":[
        {
           "id":1,
           "name":"Web Development",
           "description":"Test per web development",
           "price":"200.00",
           "created_at":"2020-05-04T03:07:28.000000Z",
           "updated_at":"2020-05-06T03:07:28.000000Z"
        },
        {
           "id":2,
           "name":"Java",
           "description":"test per java",
           "price":"100.00",
           "created_at":"2020-05-20T03:07:57.000000Z",
           "updated_at":"2020-05-20T03:07:57.000000Z"
        }
     ]
  }
  </code></pre>