fix(forms): mark control containers as touched when child controls are touched (#9735)

This commit is contained in:
Kara
2016-07-01 15:36:04 -07:00
committed by GitHub
parent 5eca6e4e40
commit 77dc6ef411
3 changed files with 66 additions and 7 deletions

View File

@ -28,7 +28,9 @@ export declare abstract class AbstractControl {
markAsPending({onlySelf}?: {
onlySelf?: boolean;
}): void;
markAsTouched(): void;
markAsTouched({onlySelf}?: {
onlySelf?: boolean;
}): void;
setAsyncValidators(newValidator: AsyncValidatorFn | AsyncValidatorFn[]): void;
setErrors(errors: {
[key: string]: any;