diff --git a/projects/editor/src/app/components/unit-view/page-view/properties/element-properties.component.ts b/projects/editor/src/app/components/unit-view/page-view/properties/element-properties.component.ts index f4f09f0a3ccb343cc67d4f667d31829b4b207441..c61fb341e73109084c5ab738823120e399819ed4 100644 --- a/projects/editor/src/app/components/unit-view/page-view/properties/element-properties.component.ts +++ b/projects/editor/src/app/components/unit-view/page-view/properties/element-properties.component.ts @@ -208,7 +208,7 @@ import { MessageService } from '../../../../../../../common/message.service'; <mat-form-field *ngIf="combinedProperties.hasOwnProperty('yPosition')" appearance="fill"> <mat-label>Y Position</mat-label> <input matInput type="number" #yPosition="ngModel" min="0" - [ngModel]="combinedProperties.xPosition" + [ngModel]="combinedProperties.yPosition" (ngModelChange)="updateModel('yPosition', $event, yPosition.valid)"> </mat-form-field> </ng-container>