title: How can I populate a form with an @Input() value that is of type object?
body: <p>This is the ts with the input that i was mentioning</p>
  
  <pre><code> @Input() event: ClassEvent //this is the input
    start-date: FormControl;
    end-date: FormControl;
    class : FormControl;
    myForm: FormGroup;
  </code></pre>
  
  <p>And this is a part of the form </p>
  
  <pre><code> &lt;div class="form-group"&gt;
   &lt;select id="location_id" formControlName="class"
                  required&gt;
                  &lt;option value="" disabled selected&gt;Classes&lt;/option&gt;
                  &lt;option *ngFor="let class of classList"&gt;
                      {{class.name}}&lt;/option&gt;
              &lt;/select&gt;
          &lt;/div&gt;
      &lt;/div
  </code></pre>