<div class="container">
  @if (isInput) {
    <input
      [(ngModel)]="data"
      (ngModelChange)="onChange($event)"
      (blur)="onTouched()"
      id="input"
      type="number"
    />
  } @else {
    <div class="value" id="input">{{ value }}</div>
  }
  <label for="input">{{ label | translate }}</label>
</div>
