I have 2 input values Here is how it look like
<div class="form-group">
<label>{{l("RoomLength")}}</label>
<input number-directive #roomLengthInput="ngModel" class="form-control nospinner-input" type="text" name="roomLength" [(ngModel)]="room.roomLength" maxlength="32">
</div>
<div class="form-group">
<label>{{l("RoomWidth")}}</label>
<input number-directive #roomWidthInput="ngModel" class="form-control nospinner-input" type="text" name="roomWidth" [(ngModel)]="room.roomWidth" maxlength="32">
</div>
And I need to concat those values into one value and bind to this input
<div class="form-group">
<label>{{l("TotalSize")}}</label>
<input number-directive #totalSizeInput="ngModel" class="form-control nospinner-input" type="text" name="totalSize" [(ngModel)]="room.totalSize" maxlength="32">
</div>
How I can do this?
totalSize? Should it modifyroomLengthorroomWidth?[ngModel]="room.roomLength * room.roomWidth".