This repository has been archived by the owner on Oct 2, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
$select.selected is undefined #487
Comments
Try $item not $select.selected |
I did use $item
|
data-repeat ?? |
Changed data-repeat to repeat, same problem. |
Show your example in plnkr.co |
i have the same problem |
I can reproduce with a demo on plnkr.co. More detailed description will be available in a new issue. |
new issue - #587 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am trying to use ui-select to render my multi-select dropdown list.
I followed the multi-select example, which works except that I see the $select.selected is undefined error message. The error does not prevent the directive from functioning, but it is quite annoy.
I debugged the code and notice that in ui.select directive, ngModel.$render function, if I do
I won't see the error any more, but the multi-select won't work when I click on the input box, I get ctrl.items is undefined.
It seems that the ngModel.$viewValue is not defined for some reason. Is that a bug or something that I am doing correctly?
The text was updated successfully, but these errors were encountered: