angular-bootstrap-select icon indicating copy to clipboard operation
angular-bootstrap-select copied to clipboard

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

Open ghiscoding opened this issue 11 years ago • 1 comments

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

ghiscoding avatar Feb 05 '15 04:02 ghiscoding

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.

mariusstaicu avatar Jun 20 '15 16:06 mariusstaicu