* Internal implementation of the `setAsyncValidators` method. Needs to be separated out into a * different method, because it is called in the constructor and it can break cases where * a control is extended.
(validators: AsyncValidatorFn | AsyncValidatorFn[] | null)
| 1799 | * a control is extended. |
| 1800 | */ |
| 1801 | private _assignAsyncValidators(validators: AsyncValidatorFn | AsyncValidatorFn[] | null): void { |
| 1802 | this._rawAsyncValidators = Array.isArray(validators) ? validators.slice() : validators; |
| 1803 | this._composedAsyncValidatorFn = coerceToAsyncValidator(this._rawAsyncValidators); |
| 1804 | } |
| 1805 | |
| 1806 | private _updateHasRequiredValidator(): void { |
| 1807 | untracked(() => this._hasRequired.set(this.hasValidator(Validators.required))); |
nothing calls this directly
no test coverage detected
searching dependent graphs…