Browse Source

remove setTimeout for trigger change detechtion

pull/18302/head
Masum ULU 3 years ago
committed by GitHub
parent
commit
1e2ea1598c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      npm/ng-packs/packages/core/src/lib/abstracts/ng-model.component.ts

1
npm/ng-packs/packages/core/src/lib/abstracts/ng-model.component.ts

@ -47,6 +47,7 @@ export class AbstractNgModelComponent<T = any, U = T> implements ControlValueAcc
writeValue(value: T): void {
this._value = this.valueLimitFn(value, this._value) || value;
this.cdRef.markForCheck();
}
registerOnChange(fn: any): void {

Loading…
Cancel
Save