Skip to content

Commit

Permalink
fix(module:select): usage public property in accessing other componen…
Browse files Browse the repository at this point in the history
…ts (#679)
  • Loading branch information
trotyl authored and vthinkxie committed Dec 5, 2017
1 parent 08f10e4 commit 8ba3ea8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/select/nz-select.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ export class NzSelectComponent implements OnInit, AfterContentInit, AfterContent
if (this._isOpen) {
$event.preventDefault();
$event.stopPropagation();
this._activeFilterOption = this.nextOption(this._activeFilterOption, this._filterOptions.filter(w => !w._disabled));
this._activeFilterOption = this.nextOption(this._activeFilterOption, this._filterOptions.filter(w => !w.nzDisabled));
this.scrollToActive();
}
}
Expand All @@ -540,7 +540,7 @@ export class NzSelectComponent implements OnInit, AfterContentInit, AfterContent
if (this._isOpen) {
$event.preventDefault();
$event.stopPropagation();
this._activeFilterOption = this.preOption(this._activeFilterOption, this._filterOptions.filter(w => !w._disabled));
this._activeFilterOption = this.preOption(this._activeFilterOption, this._filterOptions.filter(w => !w.nzDisabled));
this.scrollToActive();
}
}
Expand Down

0 comments on commit 8ba3ea8

Please sign in to comment.