Skip to content
Permalink
Browse files

fix(module:select): fix select enter open when disabled

close #3408
  • Loading branch information...
vthinkxie committed Jun 22, 2019
1 parent 7418263 commit 36db36c9791141759f672622b34caa7fc92e073a
Showing with 3 additions and 0 deletions.
  1. +3 −0 components/select/nz-select.service.ts
@@ -321,6 +321,9 @@ export class NzSelectService {
}

onKeyDown(e: KeyboardEvent): void {
if (this.disabled) {
return;
}
const keyCode = e.keyCode;
const eventTarget = e.target as HTMLInputElement;
const listOfFilteredOptionWithoutDisabled = this.listOfFilteredOption.filter(item => !item.nzDisabled);

0 comments on commit 36db36c

Please sign in to comment.
You can’t perform that action at this time.