bentorfs / angular-bootstrap-multiselect

Native angularJS custom form element
http://bentorfs.github.io/angular-bootstrap-multiselect/
MIT License
79 stars 111 forks source link

error with connection $scope in the controller. #11

Open angeltg83 opened 8 years ago

angeltg83 commented 8 years ago

no display when the data source is a query from a service from the controller. but if I send an array burned from controller. works , but not if the array dynamically built it from some service.

choizhang commented 8 years ago

i have same issues

contactjijo commented 7 years ago

I am also facing the same issue, when options pass as vm.options from a service, it displays none. I checked and vm.options has value. I gave like this ..

<multiselect ng-model="vm.selection" options="vm.options"></multiselect>

If you are hardcodning the values for vm.options, it displays the options, otherwise getting from a webservice displays none.