Browse Source
remove setTimeout for trigger change detechtion
pull/18302/head
Masum ULU
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
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 { |
|
|
|
|