array of objects in dropdown angular 10 code example
Example: use ngfor to make a dropdown in angular from array
<select [(ngModel)]="selected">
<option *ngFor="let person of people" [ngValue]="person">{{person.name}}</option>
</select>
<div class='show-info'></div>