Skip to content

Commit

Permalink
fix(autocomplete): fix show options for the autocomplete (#3152)
Browse files Browse the repository at this point in the history
  • Loading branch information
katebatura committed Jan 18, 2023
1 parent 5b6edcd commit a693caf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,6 @@ export class NbAutocompleteDirective<T> implements OnDestroy, AfterViewInit, Con
}

protected shouldShow(): boolean {
return this.isClosed && this.autocomplete.options.length > 0;
return this.isClosed;
}
}

0 comments on commit a693caf

Please sign in to comment.