Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

Re disabled attributes #83

Open
Veske opened this issue Feb 26, 2016 · 1 comment
Open

Re disabled attributes #83

Veske opened this issue Feb 26, 2016 · 1 comment

Comments

@Veske
Copy link

Veske commented Feb 26, 2016

I don't understand why you closed to issue... But the fix would be to change the code so:

scope.$watch(function () {
                        return attrs.disabled;
                    }, function (newVal) {
                        scope.disabled = newVal;
                    });

You can test at http://amitava82.github.io/angular-multiselect/ and add a disabled attribute to one of the select boxes there and see that it does not work currently.

@amitava82
Copy link
Owner

Works for me http://plnkr.co/edit/csrzsXv18E6GTuXCQpzO?p=preview

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

No branches or pull requests

2 participants