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

Updating model does not update selectize? #47

Closed
lapidus opened this issue Feb 21, 2015 · 2 comments
Closed

Updating model does not update selectize? #47

lapidus opened this issue Feb 21, 2015 · 2 comments

Comments

@lapidus
Copy link

lapidus commented Feb 21, 2015

How can I extend angular-selectize to update the selected items when I change the model?

$scope.myModel = ["Tag1", "Tag2"];
<selectize options='myOptions' ng-model="myModel"></selectize>
$scope.myModel = ["Tag1", "Tag2", "Tag3"];

Results in only Tag1, Tag2 showing.

@amytych
Copy link
Contributor

amytych commented Feb 21, 2015

See #48, I think it could help you :-)

@lapidus
Copy link
Author

lapidus commented Feb 21, 2015

Oh, how very useful. Dziękuję

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

3 participants