angular-bootstrap-select icon indicating copy to clipboard operation
angular-bootstrap-select copied to clipboard

Doesn't support track by in ng-option

Open tianxu0836 opened this issue 10 years ago • 1 comments

It not working well with the latest version of the bootstrap select.

if you using ng-option like this: ng-options="c.text for c in timeUnit track by c.value" This piece of code causing problem. function refresh(newVal) { scope.$applyAsync(function () { if (attrs.ngOptions && /track by/.test(attrs.ngOptions)) element.val(newVal); element.selectpicker('refresh'); }); }

tianxu0836 avatar Sep 04 '15 21:09 tianxu0836

agreed

ganySA avatar Sep 26 '15 09:09 ganySA