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

close NG-ZORRO#3439
  • Loading branch information
zhoucs authored and Ricbet committed Apr 9, 2020
1 parent f6037f4 commit c843c63
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 c843c63

Please sign in to comment.