Browse Source

Some fixed after tslint improvements.

pull/130/head
Sebastian Stehle 9 years ago
parent
commit
a4d4753332
  1. 2
      src/Squidex/app/framework/angular/indeterminate-value.directive.ts
  2. 2
      src/Squidex/app/framework/angular/lowercase-input.directive.ts

2
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);
}

2
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();

Loading…
Cancel
Save