update edit
This commit is contained in:
@@ -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}}
|
||||
|
||||
Reference in New Issue
Block a user