From 1c5c0b28540f28598ae567d23ea997dc000843a8 Mon Sep 17 00:00:00 2001
From: jojohoch <joachim.hoch@iqb.hu-berlin.de>
Date: Thu, 23 May 2024 16:05:20 +0200
Subject: [PATCH] Fix the display of the number of rows for text areas

#657
---
 .../common/components/input-elements/text-area.component.ts     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/projects/common/components/input-elements/text-area.component.ts b/projects/common/components/input-elements/text-area.component.ts
index f959ff472..86b735d4e 100644
--- a/projects/common/components/input-elements/text-area.component.ts
+++ b/projects/common/components/input-elements/text-area.component.ts
@@ -38,7 +38,7 @@ import { TextInputComponent } from 'common/directives/text-input-component.direc
                 [expectedCharactersCount]="elementModel.expectedCharactersCount"
                 [fontSize]="elementModel.styling.fontSize"
                 (dynamicRowsChange)="dynamicRows = $event"
-                [rows]="elementModel.hasDynamicRowCount && dynamicRows ? dynamicRows : elementModel.rows"
+                [rows]="elementModel.hasDynamicRowCount && dynamicRows ? dynamicRows : elementModel.rowCount"
                 [attr.inputmode]="elementModel.showSoftwareKeyboard || elementModel.hideNativeKeyboard ? 'none' : 'text'"
                 [formControl]="elementFormControl"
                 [readonly]="elementModel.readOnly"
-- 
GitLab