RafaelVidaurre / angular-permission

Simple route authorization via roles/permissions
MIT License
1.13k stars 212 forks source link

Disabling Angular UI bootsrap element. #427

Closed bhd-vasyl closed 6 years ago

bhd-vasyl commented 7 years ago

I'm using Angular UI Bootstrap elements in project. to disable it, i need set disable attribute, instead of disabled. But when i do it by the method, it is not work properly.It adds it on view, but not actually disable element

vm.disable = function (element) {
            element.attr('disable','true')
        }