Skip to content

Commit

Permalink
fix(angular): value is updates based in ionChange
Browse files Browse the repository at this point in the history
fixes #15722
  • Loading branch information
manucorporat committed Sep 25, 2018
1 parent f65ec10 commit e18f8bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit e18f8bf

Please sign in to comment.