ui-select
ui-select copied to clipboard
selectize theme doesn't work in ng-repeat
Bug description:
When you have ui-select with theme selectize inside ng-repeat, all changes to the model applies only to the last item in ng-repeat. It's working ok for bootstrap theme. And you can see in plunker below. there are two values as in model for each select for bootstrap. And a lot of values for the last one select, from previous items in ng-repeat loop. I guess problem selectize render selected option to the last one select in the loop. Any ideas?
Link to minimally-working plunker that reproduces the issue:
http://plnkr.co/edit/sMXIUHVxHSh5TwuibJhU?p=preview
Version of Angular, UI-Select, and Bootstrap/Select2/Selectize CSS
Angular: 1.5.8
UI-Select: 0.19.6
Bootstrap/Select2/Selectize CSS (if applicable): 0.8.5
I have the same issue
@pkurochka maybe you could investigate and make a PR? Happy to review 😄
@Jefiozie Was this issue ever resolved?
@stcrestrada My workaround: Add a wrapper tag (e.g. div) for the selectize/match-multiple.tpl.html view (at the end of select.js)
Later, of course, you have to change some styles for this theme.