Closed vmalloc closed 7 years ago
Thanks for reporting. This happens on initial page load, not when you click the toggle, correct?
I'm running into the same issue on emberjs 2.10.2. Happens during the initial load. The stack trace of the failure is on the x-toggle component: line 47 -> 182
Also I noticed that the double rendering issue happens only when the initial value is false.
Not undefined?
correct
Might have been an error on my side as I copied the example which was (mut myValue) instead of (action (mut myValue))
Give v3.0.0 a try.
Trying to create a simple controller with a boolean
flag
attribute, and the code:As taken from the README, Ember raises an error:
Tested with latest ember-cli-toggle (v2.0.2) and Ember 2.10