Skip to content

Commit 05d3bb5

Browse files
author
Jeppe Elkjær Jørgensen
committed
IOT-262 add relations to data target
1 parent ad64c8e commit 05d3bb5

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,12 @@ <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-
[(value)]="element.payloadDecoderId">
91-
<mat-option *ngFor="let payloadDecoder of payloadDecoders" [value]="payloadDecoder.id">
90+
[(ngModel)]="element.payloadDecoderId"
91+
[value]="element.payloadDecoderId">
92+
<option *ngFor="let payloadDecoder of payloadDecoders" [value]="payloadDecoder.id">
9293
{{payloadDecoder.name}}
93-
</mat-option>
94-
</mat-select>
94+
</option>
95+
</select>
9596
</mat-form-field>
9697
</div>
9798
</td>

0 commit comments

Comments
 (0)