Skip to content

Commit

Permalink
fix(module:select): usage public property in accessing other components
Browse files Browse the repository at this point in the history
  • Loading branch information
trotyl committed Dec 5, 2017
1 parent 08f10e4 commit 20c4725
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 20c4725

Please sign in to comment.