I am using an text input field in my angular code and I want to check if it is dirty or not:
<input 
      *ngIf="!formated" 
      class="textinput-group__textinput" 
      id="{{name}}" 
      [type]="type" 
      [(ngModel)]="inputModel"
      (ngModelChange)="inputModelChange.emit(inputModel)"
      [maxlength]='maxLength'
      (input)="onValueChange($event)" 
      [ngClass]="{'disabled': isDisabled, 'error': isErrored}"
      [disabled]="isDisabled ? isDisabled : null" 
      (focus)="onFocus()" 
      (blur)="onBlur()"
      [ngStyle]="textStyle">
The $event property passed to the OnValueChange() doesn't contain the dirty property:
onValueChange(event: any): void {
    console.log("event:" + event);
    this.onChange.emit(event.target.value);
  }
How else can I get it?