Method
constructor
(
@Host() @SkipSelf() parent: ControlContainer,
@Optional() @Self() @Inject(NG_VALIDATORS) validators: (Validator | ValidatorFn)[],
@Optional()
@Self()
@Inject(NG_ASYNC_VALIDATORS)
asyncValidators: (AsyncValidator | AsyncValidatorFn)[],
)
Source from the content-addressed store, hash-verified
| 73 | @Input('ngModelGroup') override name: string = ''; |
| 74 | |
| 75 | constructor( |
| 76 | @Host() @SkipSelf() parent: ControlContainer, |
| 77 | @Optional() @Self() @Inject(NG_VALIDATORS) validators: (Validator | ValidatorFn)[], |
| 78 | @Optional() |
| 79 | @Self() |
| 80 | @Inject(NG_ASYNC_VALIDATORS) |
| 81 | asyncValidators: (AsyncValidator | AsyncValidatorFn)[], |
| 82 | ) { |
| 83 | super(); |
| 84 | this._parent = parent; |
| 85 | this._setValidators(validators); |
| 86 | this._setAsyncValidators(asyncValidators); |
| 87 | } |
| 88 | |
| 89 | /** @internal */ |
| 90 | override _checkParentType(): void { |
Callers
nothing calls this directly
Tested by
no test coverage detected