I am trying to create a helper that is observing an array. When the array changes, I want the helper to reevaluate. I am using the helper in a checkbox input that is created as part of an #each structure. The helper determines the value of checked.
I can’t figure out how to set up the array observer correctly. Here is an Ember Twiddle with a simplification of what I have done.
Thanks for taking a look.
UPDATE: The twiddle above should now contain a working pattern for multiple checkboxes inside an #each, and with a check-all option, that does not use a model attribute to track the “checked” state.