From 4fbd44c62031cdb114be8d95b59ee022b139d171 Mon Sep 17 00:00:00 2001 From: zhoucs Date: Sat, 22 Jun 2019 15:35:17 +0800 Subject: [PATCH] fix(module:select): fix the bug of duplication when keyboard input chinese char (#3440) close #3439 --- components/select/nz-select-top-control.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/select/nz-select-top-control.component.ts b/components/select/nz-select-top-control.component.ts index da3e12b91f..1fad6334a6 100644 --- a/components/select/nz-select-top-control.component.ts +++ b/components/select/nz-select-top-control.component.ts @@ -63,9 +63,9 @@ export class NzSelectTopControlComponent implements OnInit, OnDestroy { } setInputValue(value: string): void { - if (this.inputElement) { + /* if (this.inputElement) { this.inputElement.nativeElement.value = value; - } + } */ this.inputValue = value; this.updateWidth(); this.nzSelectService.updateSearchValue(value);