input onchange event angular 8 code example
Example 1: angular input change event
<input type="text" [ngModel]="mymodel" (ngModelChange)="valuechange($event)" />
{{mymodel}}
valuechange(newValue) {
mymodel = newValue;
console.log(newValue)
}
Example 2: angular input onchange
<input (change)="saverange()"/>