Closed Veske closed 8 years ago
It's disabled
as you can see in e $parse(attrs.disabled)(originalScope)
Huh? ng-disabled adds a disabled property to the html element if the expression equals to true. Problem is that the line$parse(attrs.disabled)(originalScope)
return undefined or to be more precise it returns null. So the listener function never gets called.
I mean go here: http://amitava82.github.io/angular-multiselect/ and try to add either disabled or ng-disabled to any of the multiselect boxes. It has no effect.
Has anyone actually tried the disabled state? If I would put ng-disabled="someExpressionThatEvaluatesToTrue" then the multiselect will not get disabled.
The line $parse(attrs.disabled)(originalScope) seems to return undefined.