Skip to content

Commit 68a2e4a

Browse files
author
Karol Tatała
committed
removing unnecessary line causing track by not working properly joaoneto#31
1 parent 919dd6c commit 68a2e4a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/angular-bootstrap-select.js

-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,6 @@ function selectpickerDirective($parse, $timeout) {
181181
link: function (scope, element, attrs) {
182182
function refresh(newVal) {
183183
scope.$applyAsync(function () {
184-
if (attrs.ngOptions && /track by/.test(attrs.ngOptions)) element.val(newVal);
185184
element.selectpicker('refresh');
186185
});
187186
}

0 commit comments

Comments
 (0)