Browse Source

Remove setTimeout and markForCheck

pull/18302/head
Sinan Öztürk 2 years ago
parent
commit
1926948a6e
  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,7 +47,6 @@ export class AbstractNgModelComponent<T = any, U = T> implements ControlValueAcc
writeValue(value: T): void {
this._value = this.valueLimitFn(value, this._value) || value;
setTimeout(() => this.cdRef.markForCheck(), 0);
}
registerOnChange(fn: any): void {

Loading…
Cancel
Save