-
Notifications
You must be signed in to change notification settings - Fork 27.4k
#8761 don't work if key is object #9383
Comments
Setting the model to '3' shouldn't work anyway. There are two different issues going on:
I am not really sure what is the purpose of |
I think that optionsMap generated with selectCtrl should be a little rewritten.
change to
But this is not full. So it is not full solution. PS. Found solution update in the latest commit
instead of
PSS. This is not solution because option.id is just the index but not key PSSS. This can be
but i am not sure that is the best solution.
|
Can you test with latest snapshot (https://code.angularjs.org/snapshot/angular.js) and see if you're still experiencing issues? This logic was recently fixed by @shahata. I'm having a hard time understanding what is broken here. |
@jeffbcross No. It still not working. Works only if key is not object |
Any progress??? |
In 1.3.9, there was a huge update to ngOptions, please test again. I also have problems seeing what's wrong in the jsbin, it looks good to me. |
Sorry, correction - the big update is in the unstable branch (1.4.0-beta.0). Anyway, please feel free to reopen with a reproduction that clearly shows the issue. Thank! |
#8761 does not work when ngModel value is object
Look at console
http://jsbin.com/buvowimipale/5/
I think optionsMap should be array of values.
The text was updated successfully, but these errors were encountered: