diff --git a/projects/editor/src/app/components/dialogs/label-edit-dialog.component.ts b/projects/editor/src/app/components/dialogs/label-edit-dialog.component.ts index 255393fd24ccfb50a715271765100a7746d1ea79..7aec0d6e220ba1230c9e9409d556e9244c08831b 100644 --- a/projects/editor/src/app/components/dialogs/label-edit-dialog.component.ts +++ b/projects/editor/src/app/components/dialogs/label-edit-dialog.component.ts @@ -16,7 +16,7 @@ import { FileService } from 'common/services/file.service'; <button mat-raised-button (click)="newLabel.imgSrc = null">{{ 'removeImage' | translate }}</button> <mat-form-field> <mat-label>{{'imagePosition' | translate }}</mat-label> - <mat-select [value]="newLabel.imgPosition" + <mat-select [(ngModel)]="newLabel.imgPosition" [disabled]="newLabel.imgSrc == null"> <mat-option *ngFor="let option of ['above', 'below', 'left', 'right']" [value]="option">