Skip to content

Commit

Permalink
fix(module:select): fix the bug of duplication when keyboard input ch…
Browse files Browse the repository at this point in the history
…inese char
  • Loading branch information
zhoucs authored and zhoucs committed May 12, 2019
1 parent b0f353c commit d13ccd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/select/nz-select-top-control.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d13ccd8

Please sign in to comment.