diff --git a/projects/editor/src/app/components/dialogs/likert-row-edit-dialog.component.ts b/projects/editor/src/app/components/dialogs/likert-row-edit-dialog.component.ts index 038fb8f3d0ddd73d22b9c3beb96adac6597cb925..6d0cd6eabb070148cbf7f179ec7d4ddf1b6e6cc0 100644 --- a/projects/editor/src/app/components/dialogs/likert-row-edit-dialog.component.ts +++ b/projects/editor/src/app/components/dialogs/likert-row-edit-dialog.component.ts @@ -24,8 +24,8 @@ import { TextLabel } from 'common/models/elements/element'; <mat-label>{{'preset' | translate }}</mat-label> <mat-select [(ngModel)]="newLikertRow.value"> <mat-option [value]="null">{{'propertiesPanel.undefined' | translate }}</mat-option> - <mat-option *ngFor="let column of data.options; let i = index" [value]="i"> - {{column.text}} (Index: {{i}}) + <mat-option *ngFor="let column of data.options; let i = index" [value]="i" + [innerHTML]="'<span>' + column.text + ' (Index: ' + i + ')</span>' | safeResourceHTML"> </mat-option> </mat-select> </mat-form-field>