feat(forms): add get method for easy access to child controls (#10428)
This commit is contained in:
3
tools/public_api_guard/forms/index.d.ts
vendored
3
tools/public_api_guard/forms/index.d.ts
vendored
@ -19,7 +19,8 @@ export declare abstract class AbstractControl {
|
||||
constructor(validator: ValidatorFn, asyncValidator: AsyncValidatorFn);
|
||||
clearAsyncValidators(): void;
|
||||
clearValidators(): void;
|
||||
find(path: Array<string | number> | string): AbstractControl;
|
||||
/** @deprecated */ find(path: Array<string | number> | string): AbstractControl;
|
||||
get(path: Array<string | number> | string): AbstractControl;
|
||||
getError(errorCode: string, path?: string[]): any;
|
||||
hasError(errorCode: string, path?: string[]): boolean;
|
||||
markAsDirty({onlySelf}?: {
|
||||
|
Reference in New Issue
Block a user