I'm creating a table where the rows are built out via an ngFor.
In one of the columns I want a select, that also has an ngFor. The problem here, is when I use an ngModel on the select, once I select an option it affects ALL of the other repeated selects. Trying to figure out how to get data from one select.
<tr *ngFor="let data of tableData">
<td>{{data.SystemName}}</td>
<td>{{data.StandardName}}</td>
<td>{{data.DBName}}</td>
<td>{{data.ResourceName}}</td>
<td>
<select class="form-control"> <!--I need ngValue selected for this select-->
<option value="" selected disabled></option>
<option [ngValue]="fieldData" *ngFor="let fieldData of uFieldData">{{fieldData.FName}} - {{fieldData.EName}} - {{fieldData.FDataType}}</option>
</select>
</td>
<td>
<select class="form-control">
<option value="" selected disabled></option>
<option [ngValue]="mappingTypeData" *ngFor="let mappingTypeData of uMappingTypeData">{{mappingTypeData.Name}}</option>
</select>
</td>
</tr>