I have a problem: I have this property called βactiveβ on one of my models, it is either the string βyesβ or βnoβ, now I want to use this property to check the HTML switch.
So, when "active" is "yes", it should be checked, otherwise it should not be checked. This works for me, however, when I do an action that sets the "active" property to "no" or "yes", the status of the checkboxes checked is not updated.
Here's bin: http://emberjs.jsbin.com/ohaSezo/3/edit .
When using the checkbox, I get the same results: http://emberjs.jsbin.com/OWILUru/3/edit
I canβt figure it out, I think it should work, any ideas?
Mrhus source share