-
Notifications
You must be signed in to change notification settings - Fork 1.8k
ng-model is not getting changed #205
Comments
Could be broken with that version of Angular - not sure a lot of this module has been tested with the 1.3.x versions of Angular. |
@sanketsaurav try creating a plunker so I can check it and help you faster |
+1 Saw this issue in production after upgrading to angular 1.3.4, Everything multiple looks okay, but model never updates. Here is a plunker: http://plnkr.co/edit/VdC2ImYaQQJQPw1jsDUV?p=preview |
This is really causing us issues. Any ideas where we can start debugging? |
@tannerlinsley It appears you can fix this by manually instantiating the model within the controller (demo.js) $scope.friends = {}; // Need to instantiate model within controller. I also had to change the multi-select to hold the field of an ng-model object, instead of the object itself: <ui-select multiple ng-model="friends.multi" ...> |
still appears to be an issue. @mmoy92 's solution worked for me. |
As per FAQs ngModel requires dot notation. Closing. |
I'm trying to achieve something very straightforward:
When changing the objects, the changes are not reflected in the model
company.stack
. I tried changing it to$parent.company.stack
, but it still doesn't work. What am I missing?I'm using AngularJS v1.3.0-beta.17.
The text was updated successfully, but these errors were encountered: