title: Why is it flickering Object Object in my component when it's rendered for the first time, (Angular)
body: <p>I'm filling a form from a Http request, but when the form is rendered for the first time it shows [object object]in the input for a few milliseconds and then it shows the value of the input.</p>
  <p>this is what I got in my .ts file:</p>
  <pre><code>this.customerInitialSvc.getInitialData().subscribe((data: InitialData) =&gt; {
        const { Data } = data;
        this.datosInicialesForm.patchValue({
          primerNombre: Data['firstName'],
          segundoNombre: Data['secondName'],
          primerApellido: Data['firstSurname'],
          segundoApellido: Data['secondSurname'],
          fechaDeNacimiento: this.formatDate(new Date()),
          documentoIdentidad: Data['identification'],
          teléfono: Data['phoneNumber'],
        });
  
  and this is my html file:
  
  &lt;form
      (ngSubmit)=&quot;onSubmit($event)&quot;
      fxLayout=&quot;column stretch&quot;
      fxLayout.lt-md=&quot;column&quot;
      fxLayoutGap=&quot;5px&quot;
      fxFlex.lt-md=&quot;100&quot;
      [formGroup]=&quot;datosInicialesForm&quot;
    &gt;
      &lt;div
        fxLayout=&quot;row wrap&quot;
        fxLayout.lt-lg=&quot;column&quot;
        fxFlexAlign=&quot;center&quot;
        fxLayoutGap.gt-sm=&quot;50px&quot;
        fxLayoutGap.lt-md=&quot;20px&quot;
        fxFlex.lt-md=&quot;90&quot;
      &gt;
        &lt;div class=&quot;input-field&quot;&gt;
          &lt;label&gt;Primer Nombre:&lt;/label&gt;
          &lt;input type=&quot;text&quot; formControlName=&quot;primerNombre&quot; /&gt;
        &lt;/div&gt;
  
        &lt;div class=&quot;input-field&quot;&gt;
          &lt;label&gt;Segundo Nombre:&lt;/label&gt;
          &lt;input type=&quot;text&quot; formControlName=&quot;segundoNombre&quot; /&gt;
        &lt;/div&gt;
  
        &lt;div class=&quot;input-field&quot;&gt;
          &lt;label&gt;Primer Apellido:&lt;/label&gt;
          &lt;input type=&quot;text&quot; formControlName=&quot;primerApellido&quot; /&gt;
        &lt;/div&gt;
      &lt;/div&gt;
  .........
  </code></pre>
  <p>I hope someone can help me.</p>
  <p>thanks...</p>