title: Cannot find control with name: '[object Object]'
body: <pre><code>&lt;form nz-form (ngSubmit)="handleCreate()" [formGroup]="form"&gt;
  
    &lt;nz-form-item *ngIf="errors &amp;&amp; errors.length &gt; 0" class="alert alert-error"&gt;
      &lt;nz-form-label *ngFor="let error of errors"&gt;• {{ error }}&lt;/nz-form-label&gt;
    &lt;/nz-form-item&gt;
  
    &lt;nz-form-item *ngIf="!(errors &amp;&amp; errors.length) &amp;&amp; warnings &amp;&amp; warnings.length &gt; 0" class="alert alert-warning"&gt;
      &lt;nz-form-label *ngFor="let warning of warnings"&gt;{{ warning }}&lt;/nz-form-label&gt;
    &lt;/nz-form-item&gt;
  
    &lt;nz-form-item&gt;This action will create a task:&lt;/nz-form-item&gt;
    &lt;nz-form-item&gt;
      &lt;nz-form-item nz-row&gt;
        &lt;nz-form-label nz-col nzSpan="6"&gt;
          definition
        &lt;/nz-form-label&gt;
        &lt;div nz-col nzSpan="18"&gt;
          &lt;app-stream-dsl&gt;{{ dsl }}&lt;/app-stream-dsl&gt;
        &lt;/div&gt;
      &lt;/nz-form-item&gt;
      &lt;nz-form-item nz-row&gt;
        &lt;nz-form-label nz-col nzSpan="6" nzRequired [nzFor]="name"&gt;
          name
        &lt;/nz-form-label&gt;
        &lt;nz-form-control nz-col nzSpan="18" [nzValidateStatus]="form.controls.taskName.errors" nzHasFeedback&gt;
          &lt;input nz-input class="form-control input-sm"
                 [id]="name"
                 [name]="name" [formControlName]="taskName"
                 type="text" placeholder="&lt;Task Name&gt;"/&gt;
          &lt;nz-form-explain *ngIf="form.controls.taskName.errors"&gt;
            The format of your task name is invalid. {{ form.controls.taskName.errors.validateTaskName.reason }}
          &lt;/nz-form-explain&gt;
        &lt;/nz-form-control&gt;
      &lt;/nz-form-item&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/M5nhZ.png" rel="nofollow noreferrer">enter image description here</a>
    constructor(private tasksService: TasksService,
                private fb: FormBuilder,
                private notificationService: NzNotificationService,
                private loggerService: LoggerService,
                private bsModalRef: NzModalRef,
                private router: Router) {
      this.form = fb.group({
        'taskName': this.taskName
      });<code>enter code here</code></p>