Skip to content
Snippets Groups Projects
Commit 0ec1a128 authored by jojohoch's avatar jojohoch
Browse files

Fix display of HTML options of dropdown element

parent 5098bc6b
No related branches found
No related tags found
No related merge requests found
...@@ -20,8 +20,8 @@ import { FormElementComponent } from '../../directives/form-element-component.di ...@@ -20,8 +20,8 @@ import { FormElementComponent } from '../../directives/form-element-component.di
(click)="$event.preventDefault()"> (click)="$event.preventDefault()">
</mat-option> </mat-option>
<mat-option *ngFor="let option of elementModel.options; let i = index" [value]="i" <mat-option *ngFor="let option of elementModel.options; let i = index" [value]="i"
[class.read-only]="elementModel.readOnly"> [class.read-only]="elementModel.readOnly"
{{option.text}} [innerHTML]="option.text | safeResourceHTML">
</mat-option> </mat-option>
</mat-select> </mat-select>
<mat-error *ngIf="elementFormControl.errors"> <mat-error *ngIf="elementFormControl.errors">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment