此示例中的 ngModel 正在杀死我的浏览器。任何想法如何获得每个表格单元格 ng-model?(我尝试使用(更改),它有效 - 但更改了所选值)
<tr *ngFor="let step of procSteps; let i = index; let first = first; let last =
last; let even = even; let odd = odd;">
<td> <p>{{step.position}}</p> </td>
<td> <p>{{step.name}}</p> </td>
<td>
<select [(ngModel)]="selectedSystemStep[i]">
<option *ngFor="let system of systemModuleList"
[value]="system.id">{{system.name}}</option>
</select>
</td>
</tr>