<div class="input__container">
  <div class="input__container__box">
    <label *ngIf="label" class="input__label p4" [htmlFor]="identifier">
      {{ label }}
    </label>

    <input
      [id]="identifier"
      [ngClass]="'input__field ' + isValid"
      [type]="type"
      [value]="value"
      [placeholder]="placeholder"
      (input)="onChanges($event)"
      [disabled]="isDisabled"
    />
  </div>

  <p *ngIf="errorMessage" class="input__errorText p5">
    {{ errorMessage }}
  </p>
</div>
