diff --git a/src/Squidex/app/framework/angular/indeterminate-value.directive.ts b/src/Squidex/app/framework/angular/indeterminate-value.directive.ts index 85bc14aa5..9e48bca7e 100644 --- a/src/Squidex/app/framework/angular/indeterminate-value.directive.ts +++ b/src/Squidex/app/framework/angular/indeterminate-value.directive.ts @@ -28,7 +28,7 @@ export class IndeterminateValueDirective implements ControlValueAccessor { ) { } - @HostListener('onChange', ['$event.target.value']) + @HostListener('change', ['$event.target.value']) public onChange(value: any) { this.changeCallback(value); } diff --git a/src/Squidex/app/framework/angular/lowercase-input.directive.ts b/src/Squidex/app/framework/angular/lowercase-input.directive.ts index e965ee3a9..69b40315a 100644 --- a/src/Squidex/app/framework/angular/lowercase-input.directive.ts +++ b/src/Squidex/app/framework/angular/lowercase-input.directive.ts @@ -28,7 +28,7 @@ export class LowerCaseInputDirective implements ControlValueAccessor { ) { } - @HostListener('onChange', ['$event.target.value']) + @HostListener('input', ['$event.target.value']) public onChange(value: any) { const normalizedValue = (value == null ? '' : value.toString()).toLowerCase();