Created
February 26, 2019 22:26
-
-
Save carneirocorp/9f9458b3c2938655c9bf9305d4a86899 to your computer and use it in GitHub Desktop.
lista com twoway binding
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<tbody> | |
<tr *ngFor="let item of contrato.contractItemViewModels; let in = index" > | |
<td>{{ item.contractItem }}</td> | |
<td>{{ item.productCode }}</td> | |
<td>{{ item.shortDescription }}</td> | |
<td>{{ item.value | currency:'BRL' }}</td> | |
<td><input type="number" class="form-control" [(ngModel)]="contrato.contractItemViewModels[in].stockPlanned" [ngModelOptions]="{standalone: true}" /></td> | |
<td><input type="number" class="form-control" [(ngModel)]="contrato.contractItemViewModels[in].stockCustomer" [ngModelOptions]="{standalone: true}" /></td> | |
<td><input type="number" class="form-control" [(ngModel)]="contrato.contractItemViewModels[in].stockControl" [ngModelOptions]="{standalone: true}" /></td> | |
</tr> | |
</tbody> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment