Fixed textarea resize bug

This commit is contained in:
apapachristou 2019-05-29 16:17:47 +03:00
parent 5f6224210b
commit 59c347f88c
3 changed files with 8 additions and 6 deletions

View File

@ -17,9 +17,11 @@
placeholder="{{'DMP-EDITOR.FIELDS.DESCRIPTION' | translate}}" formControlName="description">
</textarea>
<!-- <mat-error *ngIf="formGroup.get('description').hasError('backendError')">
{{formGroup.get('description').getError('backendError').message}}</mat-error>
<mat-error *ngIf="formGroup.get('description').hasError('required')">{{'GENERAL.VALIDATION.REQUIRED' |
translate}}</mat-error> -->
{{formGroup.get('description').getError('backendError').message}}
</mat-error>
<mat-error *ngIf="formGroup.get('description').hasError('required')">
{{'GENERAL.VALIDATION.REQUIRED' | translate}}
</mat-error> -->
</mat-form-field>
</div>
<div class="row">

View File

@ -306,7 +306,7 @@ select {
}
textarea{
height: auto !important;
// height: auto !important;
resize: none;
line-height: $bmd-line-height !important;
}