<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]="typeForm === 'REG' ? required_reg : required_mod"
    [readonly]="typeForm === 'REG' ? readonly_reg : readonly_mod"
    [disabled]="typeForm === 'REG' ? disabled_reg : disabled_mod"
    [maxLength]="max"
    [style.height.px]="height"
    ></textarea>
  <mat-icon matSuffix *ngIf="icon !== null"> {{ icon }}</mat-icon>
</mat-form-field>
