Skip to content

Commit d9c9c3c

Browse files
author
Jeppe Elkjær Jørgensen
committed
IOT-262 add binding fix
1 parent 05d3bb5 commit d9c9c3c

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/app/shared/form/form-body-datatarget/form-body-datatarget.component.html

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,11 @@ <h4>Efter oprettelse af dit data target dette parres det med en payload decoder
8787
<mat-label>{{'QUESTION.DATATARGET.SELECT-PAYLOADDECODER' | translate}}</mat-label>
8888
<mat-select matNativeControl
8989
name="payloadDecoderId"
90-
[(ngModel)]="element.payloadDecoderId"
91-
[value]="element.payloadDecoderId">
92-
<option *ngFor="let payloadDecoder of payloadDecoders" [value]="payloadDecoder.id">
90+
[(value)]="element.payloadDecoderId">
91+
<mat-option *ngFor="let payloadDecoder of payloadDecoders" [value]="payloadDecoder.id">
9392
{{payloadDecoder.name}}
94-
</option>
95-
</select>
93+
</mat-option>
94+
</mat-select>
9695
</mat-form-field>
9796
</div>
9897
</td>

0 commit comments

Comments
 (0)