Skip to content

Commit

Permalink
feat(isOpen): treat undefined value as default behaviour
Browse files Browse the repository at this point in the history
closes #816
  • Loading branch information
varnastadeus committed Nov 6, 2018
1 parent 3e8ad77 commit 127d6be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ng-select/ng-select.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ export class NgSelectComponent implements OnDestroy, OnChanges, AfterViewInit, C
this._setItems(changes.items.currentValue || []);
}
if (changes.isOpen) {
this._manualOpen = true;
this._manualOpen = isDefined(changes.isOpen.currentValue);
}
}

Expand Down

0 comments on commit 127d6be

Please sign in to comment.