Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

Dropdown remains visible when open list is empty if using bootstrap theme #1588

Closed
nfeldman-at-onshape opened this issue May 2, 2016 · 0 comments

Comments

@nfeldman-at-onshape
Copy link
Contributor

Bug description:

As a consequence of e65995f#diff-4c6dab330fc9c181481aa33e5feb15b9 an open select list is visible even if there are no options to choose from.

Activate the first select box in the following plnkr
http://plnkr.co/edit/N1AlvedLTmSr2BDsNvSi?p=preview
to see.

Version of Angular, UI-Select, and Bootstrap/Select2/Selectize CSS

Angular:
1.3.15 and 1.5.0

UI-Select:
0.16.1

Bootstrap/Select2/Selectize CSS (if applicable):
bootstrap 3.1.0 and 3.1.1

nfeldman-at-onshape pushed a commit to nfeldman-at-onshape/ui-select that referenced this issue May 2, 2016
torstenrudolf added a commit to itslowvoice/ui-select that referenced this issue May 11, 2016
theanxy added a commit to theanxy/ui-select that referenced this issue May 20, 2016
* 'master' of https://github.com/angular-ui/ui-select: (22 commits)
  chore(release): bump package version and update changelog
  chore(bower): remove bower version number
  fix(parserResult): Ignore undefined parserResult when using custom tpl
  chore(travis): add email to yml
  chore(release): bump package version and update changelog
  chore(travis): add npm deploy
  fix(select2): hide dropdown if there are no items to show (same as angular-ui#1588 for bootstrap)
  fix(bootstrap): hide dropdown if there are no items to show
  fix(uiSelectSort): update model on sort completion
  chore(npm): Update package name in readme and doc
  fix (tagging): try all taggingTokens for splitting on paste
  perf: change test in ctrl.isActive
  fix(uiSelectSingleDirective): strictly compare matching value
  fix(bootstrap): hide clear button if disabled
  revert: fix(bootstrap) do not overflow matched item text
  fix(bootstrap) do not overflow matched item text
  docs(examples) fix double header/footer wrapping
  fix(autocomplete): change to type="search"
  fix(sortable): remove classes properly
  fix: show select element when search is disabled
  ...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant