The TypeScript error is caused by the rows input property being assigned to a string type, and it needs to be of type number. To solve this issue, the correct type needs to be assigned to the rows field as follows:
<kendo-textarea
#modifyContactNoteInputformControlName="modifyContactNoteInput" [rows]="rows"placeholder="Leave a comment"id="modifyContactNoteInput"class="NoteDossier"
></kendo-textarea>
component ts file:
public rows : number = 10;
Shorter solution:
<kendo-textarea
#modifyContactNoteInput
formControlName="modifyContactNoteInput"[rows]="5"
placeholder="Leave a comment"
id="modifyContactNoteInput"class="NoteDossier"
></kendo-textarea>
I hope this helps.
Regards,
Yanmario Menev
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.