Hi,
I'm new to directives, so maybe I have made some mistakes..
I'm using your directive like this :
<multiselect id="inputBus" ng-model="selection" options="bus" show-select-all="true" show-unselect-all="true" show-search="true" search-limit="3"> </multiselect>
--> For some reasons I'm updating my $scope.bus, but the directive is not watching it. And it's not updating the options of the multiset.
Do you have any workaround to make it working ?
--> I'm trying to get into my main ctrl the value of the $scope.selection, in my html I can see the values with {{selection}}, but in the ctrl of the html I've a $scope.selection undefined or empty if i'm declaring it. What am I doing wrong ?
Hi, I'm new to directives, so maybe I have made some mistakes..
I'm using your directive like this :
<multiselect id="inputBus" ng-model="selection" options="bus" show-select-all="true" show-unselect-all="true" show-search="true" search-limit="3"> </multiselect>
--> For some reasons I'm updating my $scope.bus, but the directive is not watching it. And it's not updating the options of the multiset. Do you have any workaround to make it working ?
--> I'm trying to get into my main ctrl the value of the $scope.selection, in my html I can see the values with {{selection}}, but in the ctrl of the html I've a $scope.selection undefined or empty if i'm declaring it. What am I doing wrong ?
Thanks by advance. Regards, Romain.