You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 8, 2020. It is now read-only.
<selectng-disabled="_disabled" ng-model="all.categories" multiple="multiple" ui-select2="{ allowClear: true,width: '600px'}"><optgroupng-repeat="category in categories" label="{{category.name}}"><optionng-repeat="item in category.children" value="{{item.id}}">{{item.name}}</option></optgroup></select>
with latest select2 plugin there is a problem that i dont get selected items from model. I can see that all items are in the options, i can select them, they appear in the select but i cant see already chosen items from model (after refresh). So it wont get initialized.
Hello there,
when I use
with latest select2 plugin there is a problem that i dont get selected items from model. I can see that all items are in the options, i can select them, they appear in the select but i cant see already chosen items from model (after refresh). So it wont get initialized.
I found a solution to change line:
to
so it watches also for ng-repeat in optgroup.
Dont know if it is a clean solution or not but it started to work with it. Can you advise ?
P.S.: I also looked at issue #8 where was said to update to latest version. But it didnt help.
The text was updated successfully, but these errors were encountered: