material icon indicating copy to clipboard operation
material copied to clipboard

ng-checkbox Disable or enable dinamically

Open luclanet opened this issue 11 years ago • 1 comments

It's impossible to disable or enable a checkbox dinamically.

http://codepen.io/anon/pen/zxyXva

luclanet avatar Mar 22 '15 21:03 luclanet

@luclanet This is not a bug. Please look at this codepen: http://codepen.io/yanivefraim/pen/EarVKW

You have to change the ng-disabled="{{disable}}" to ng-disabled="disable"

Hope that helps...

yanivefraim avatar Mar 23 '15 20:03 yanivefraim