Ontica/Empiria.Land.Intranet

View on GitHub
src/app/shared/form-controls/input-numeric/input-numeric.component.html

Summary

Maintainability
Test Coverage
<input #input type="text"
  autocomplete="off"
  class="text-box text-align-right"
  [class.no-margin]="noMargin"
  [class.full-width]="noMargin"
  [id]="'input-' + id"
  [name]="'input-' + id"
  [ngModel]="formattedValue"
  [disabled]="disabled"
  [class.invalid-control]="showError"
  (blur)="onBlur()"
  (change)="onInputChange(input.value)"
  (keyup.enter)="onKeyupEnter(input.value)"
  (keyup.escape)="onKeyupScape()"/>