fix(angular): value is updates based in ionChange

fixes #15722
This commit is contained in:
Manu Mtz.-Almeida
2018-09-25 02:18:29 +02:00
parent f65ec10f8d
commit e18f8bfa0e
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ export class NumericValueAccessor implements ControlValueAccessor {
setIonicClasses(this.element);
}
@HostListener('input', ['$event.target.value'])
@HostListener('ionChange', ['$event.target.value'])
_handleInputEvent(value: any) {
this.onChange(value);

View File

@ -32,7 +32,7 @@ export class TextValueAccessor implements ControlValueAccessor {
});
}
@HostListener('input', ['$event.target.value'])
@HostListener('ionChange', ['$event.target.value'])
_handleInputEvent(value: any) {
this.onChange(value);