<mat-form-field appearance="outline" *ngIf="tag == 'textarea'">
  <mat-label>{{ label }}</mat-label>
  <textarea
    matInput
    [type]="type"
    [placeholder]="placeholder"
    [value]="value"
    [id]="id"
    [name]="name"
    [required]="required"
    [readonly]="readonly"
    [maxLength]="max"
    [disabled]="disabled"
    [style.height.px]="height"></textarea>
  <mat-icon matSuffix *ngIf="icon !== null"> {{ icon }}</mat-icon>
</mat-form-field>
