Thanks to visit codestin.com
Credit goes to github.com

Skip to content

options update not working #37

Open
@rvandecaveye

Description

@rvandecaveye

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions