I was thinking of having a child component witha property that has a oneWay relationship to a parent property like this:
isSelected: Ember.computed.oneWay(‘FilterOptionsComponent.hasSelectAll’)
I can’t get it to seem to work though. Here’s my parent component:
<script type="text/x-handlebars" id="components/filter-options">
<h2>{{input type="checkbox" checked=hasSelectAll}} Filter Options</h2>
</script
I imagine its how I’m referencing it in the oneWay call. I’ve also tried:
isSelected: Ember.computed.oneWay(‘components/filter-options.hasSelectAll’)
and
isSelected: Ember.computed.oneWay(‘filter-options.hasSelectAll’)
Any ideas?