angular-ui/angular-ui-OLDREPO

select2 inside ng-repeat, data binding doesn't work

Closed this issue · 2 comments

fxck commented

It just doesn't. Nor using ng-options, nor using ng-repeat.

Also no value is selected on page load, but I guess it's because ng-model on select element doesn't work with ng-repeat as it did with ng-options...

Could provide plnkr if requested, but won't for now as I'd require loads of extracting from my code..

//edit

actually scratch that, data-binding works, initially selected option doesn't

fxck commented

Just noticed that the same kind of problem is here #463

fxck commented

Might as well delete this, the problem was most likely with the build used as described in #500