How to get data from a select>option with ngValue
<p>As I said in the title, I can't get any values returned from a form, more specifically a <code>select&gt;option</code> input.</p>

<p>I have seen other questions like this, but they are out of date and most of them say that it was a bug. So I'm verifying if it is still a bug and how is it possible to achieve this now.</p>

<p>I have an object returned from Firebase:</p>

<pre><code>car: {
  {id: 1, name: 'a'},
  {id: 2, name: 'b'},
  {id: 3, name: 'c'}
}
</code></pre>

<p>This is the HTML code I expected to work:</p>

<pre><code>&lt;select #id class = "form-control"&gt;
   &lt;option *ngFor = "let car of cars" [ngValue] = "car.key"&gt;{{ car.name }}&lt;/option&gt;
&lt;/select&gt;
</code></pre>

<p>And resolve in my component:</p>

<pre><code>ngOnInit () {
  this.myForm = this.fb.group({ 
    id: ['', Validators.required]
  });
}
</code></pre>

<p>So if I'd <code>console.log</code> the value of the <code>id</code>, this should return the Id of the selected object, but it returns an empty string.</p>