From 143c080cf6147793ad5972e2e3d4bb805d9d71e8 Mon Sep 17 00:00:00 2001 From: VTHINKXIE Date: Wed, 23 Aug 2017 00:26:08 +0900 Subject: [PATCH] fix(module:input): fix input touched property (#129) close #65 close #117 --- src/components/input/nz-input.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/input/nz-input.component.ts b/src/components/input/nz-input.component.ts index 21cb21b4273..b86c95dfab2 100644 --- a/src/components/input/nz-input.component.ts +++ b/src/components/input/nz-input.component.ts @@ -137,6 +137,7 @@ export class NzInputComponent implements AfterContentInit, ControlValueAccessor _emitBlur($event) { this.nzBlur.emit($event); + this.onTouched(); } _emitFocus($event) {