I have a problem with bind-attr settings on the "disabled" attribute on the button. Basically, I can’t get him not to turn off my button.
isCancelled is a boolean in my model, according to this it should make it "disabled", appear and disappear inside the processed tag.
Button
looks like that:
<button {{action "cancel" provisioning}} {{bind-attr disabled="isCancelled"}}>
It always displays the attribute "disabled".
I did a simple check to debug it. It looks like this:
isCancelled: {{isCancelled}}
It displays: isCancelled: false
I am using Ember 1.12.0
Osthekake
source share