Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using $http seems to have timing issue and makes an empty list #33

Open
ghiscoding opened this issue Feb 5, 2015 · 1 comment
Open

Comments

@ghiscoding
Copy link

Thanks a lot for your directive, it works great except when I populate a <select> by an $htttp, in this case it seems to give some timing issue and I end up with an empty list. The selecpicker seem to be displayed with an empty list but is not refreshed properly when the data finally arrives from the server. Perhaps it's missing a watcher of some kind?

I also submitted a question on Stack Overflow, so we might also get some valid answers and help there on resolving this issue.
http://stackoverflow.com/questions/28336106/angular-bootstrap-select-timing-issue-to-refresh

@mariusstaicu
Copy link

There is a fix available as suggested in the post referenced in your comment.
This directive is very useful, but I couldn't use it as bower dependency because of this bug.

caseyjhol added a commit to snapappointments/ng-bootstrap-select that referenced this issue Jul 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants