대화 입력창 max row 설정.

This commit is contained in:
leejinho 2019-11-20 11:02:14 +09:00
parent 8f81085251
commit 2f72ee7ae6

View File

@ -45,8 +45,9 @@
placeholder="Type your message" placeholder="Type your message"
ngModel ngModel
name="message" name="message"
[rows]="1"
[matTextareaAutosize]="true" [matTextareaAutosize]="true"
[matAutosizeMinRows]="1"
[matAutosizeMaxRows]="20"
></textarea> ></textarea>
</mat-form-field> </mat-form-field>