Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

View is not updated after ng-model change for fixed array of options #107

Closed
genuinefafa opened this issue Nov 18, 2013 · 3 comments
Closed

Comments

@genuinefafa
Copy link

I'm using a fixed length list of options on select2.
If I change ng-model the select2 doesn't react to model's changes.

It works with 1.0.6 and not with the latest stable version (1.2.1).

You can try it this plnkr.

@juanpujol
Copy link

I've the same problem two way data binding doesn't work anymore like before. Hope It'll be solved soon.

@genuinefafa
Copy link
Author

I found out this change - thanks @fniwes - that does the trick. Maybe it should be included in the latest release of the ui-select?

@genuinefafa
Copy link
Author

Excelent! I'll add this version to my project now ;)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants