Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't support track by in ng-option #47

Open
tianxu0836 opened this issue Sep 4, 2015 · 1 comment
Open

Doesn't support track by in ng-option #47

tianxu0836 opened this issue Sep 4, 2015 · 1 comment

Comments

@tianxu0836
Copy link

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 tianxu0836 changed the title This directive is totally USELESS! Doesn't support track by in ng-option Sep 4, 2015
@ganySA
Copy link

ganySA commented Sep 26, 2015

agreed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants