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 (#3440)

close #3439
  • Loading branch information
zhoucs authored and vthinkxie committed Jun 22, 2019
1 parent 6babca6 commit 3c82f26
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 3c82f26

Please sign in to comment.