jeudi 21 juillet 2016

Ember js access value inside #each in the route

Trying to access the value of the radio button which is created inside a #each loop.


    <div class="radio">
        <label>
          
        </label>
    </div>


and in the route

console.log(get(controller, 'owner'));

But is always undefined. I've got no problem accessing the values of other radio buttons outside of the loop.

All questions around this seem to be from a couple of years ago and reference views which have since been depreciated.




Aucun commentaire:

Enregistrer un commentaire