diff --git a/src/lib/inputs/editable-input/editable-input.component.ts b/src/lib/inputs/editable-input/editable-input.component.ts index f21854a..fbc24f2 100644 --- a/src/lib/inputs/editable-input/editable-input.component.ts +++ b/src/lib/inputs/editable-input/editable-input.component.ts @@ -26,7 +26,7 @@ export class EditableInputComponent implements OnChanges { @Input() helpModeKey: string = ''; @Input() lastChild = false; @Output() readonly save = new EventEmitter(); - textAreaSize?: { width: number; height: number }; + textArea?: { width: number; height: number }; newValue = ''; private _editing = false; @@ -60,7 +60,7 @@ export class EditableInputComponent implements OnChanges { const lastChildIndex = Number(this.id?.split('-')[2]); height = height - lastChildIndex * element.offsetHeight; } - this.textAreaSize = { width, height }; + this.textArea = { width, height }; }, 50); }