Skip to content

Commit

Permalink
fix(module:select): fix option incorrect active status (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
SangKa authored and vthinkxie committed Aug 25, 2017
1 parent 9de3de1 commit 49e3741
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/select/nz-select.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ export class NzSelectComponent implements OnInit, AfterContentInit, AfterContent
}

/** TODO: cause pre & next key selection not work */
if (updateActiveFilter) {
if (updateActiveFilter && !this._selectedOption) {
this._activeFilterOption = this._filterOptions[ 0 ];
}
}
Expand Down

0 comments on commit 49e3741

Please sign in to comment.