update edit

This commit is contained in:
2022-01-20 08:45:44 +01:00
parent 7e7f2c9ea6
commit c0e8a8e2cd
10 changed files with 33 additions and 66 deletions
+1 -1
View File
@@ -68,7 +68,7 @@
<ng-container *ngIf="comment.metadata && comment.metadata.edit">
<form [formGroup]="form" (ngSubmit)="update()" #formDirective="ngForm">
<mat-form-field>
<textarea [mat-autosize] [matAutosizeMinRows]="3" matInput formControlName="text"
<textarea matAutosize matAutosizeMinRows="3" matInput formControlName="text"
placeholder="{{'comment.text' | i18n}}" required></textarea>
<mat-error *ngIf="hasError('text')">
{{'comment.text.error' | i18n}}