minor ui change

This commit is contained in:
Sofia Papacharalampous 2024-05-14 17:45:00 +03:00
parent 1c65bd8dbe
commit 449d1d6229
1 changed files with 3 additions and 2 deletions

View File

@ -14,8 +14,9 @@
<div class="col-12 col-md mb-2"> <div class="col-12 col-md mb-2">
<mat-form-field appearance="outline" class="w-100"> <mat-form-field appearance="outline" class="w-100">
<mat-label>{{'ANNOTATION-DIALOG.THREADS.NEW-THREAD' | translate}}</mat-label> <mat-label>{{'ANNOTATION-DIALOG.THREADS.NEW-THREAD' | translate}}</mat-label>
<input matInput formControlName="text" required> <textarea matInput name="text" rows="2" formControlName="text" required></textarea>
<!-- <mat-icon matSuffix class="material-symbols-outlined"> <!--<input matInput formControlName="text" required>
<mat-icon matSuffix class="material-symbols-outlined">
add_reaction add_reaction
</mat-icon> --> </mat-icon> -->
<mat-error *ngIf="threadFormGroup.get('text').hasError('backendError')">{{threadFormGroup.get('text').getError('backendError')?.message}}</mat-error> <mat-error *ngIf="threadFormGroup.get('text').hasError('backendError')">{{threadFormGroup.get('text').getError('backendError')?.message}}</mat-error>