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
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');
});
}
The text was updated successfully, but these errors were encountered:
tianxu0836
changed the title
This directive is totally USELESS!
Doesn't support track by in ng-option
Sep 4, 2015
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');
});
}
The text was updated successfully, but these errors were encountered: