From a09e8d23e50757114f22a7866af617ae2d753828 Mon Sep 17 00:00:00 2001 From: VTHINKXIE Date: Sun, 22 Jul 2018 21:18:53 +0800 Subject: [PATCH] feat(module:form): support touched status update (#1861) close #1665 --- components/form/nz-form-control.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/form/nz-form-control.component.ts b/components/form/nz-form-control.component.ts index 1b4d3601113..3be573a6d2f 100644 --- a/components/form/nz-form-control.component.ts +++ b/components/form/nz-form-control.component.ts @@ -59,7 +59,7 @@ export class NzFormControlComponent extends NzColComponent implements OnDestroy, } updateValidateStatus(status: string): void { - if (this.validateControl.dirty) { + if (this.validateControl.dirty || this.validateControl.touched) { this.controlStatus = status; this.setControlClassMap(); } else {