Select-Option Dropdown
quantityUnits: key=uuid; value=was zu Anzeigen)
purchaseOrderListItem: das Objekt welches mit der Form angezeigt/bearbeitet werden soll
<div class=""> <label for="quantityunit_uuid" class="label-tec">Mengeneinheit</label> <select id="quantityunit_uuid" name="quantityunit_uuid" class="w3-select" [(ngModel)]="purchaseOrderListItem.quantityunit_uuid"> <option *ngFor="let quantityUnit of quantityUnits | keyvalue" [value]="quantityUnit.key">{{quantityUnit.value}}</option> </select> </div>
Ein Input mit i10n:
<div class=""> <label for="purchase_order_list_price" class="label-tec">Preis</label> <input id="purchase_order_list_price" class="w3-input" #purchase_order_list_price value="{{purchaseOrderListItem.purchase_order_list_price}}" (keyup)="updateValue('purchase_order_list_price', purchase_order_list_price.value)" l10nDecimal digits="1.2-2"> </div>