lundi 4 avril 2016

accessing dynamic input values in ember #each block in ember

I'm having issues accessing input values within my component. I'm trying to dynamically create value bindings in my templates and accessing in the conponent.js file using this.controller.get("pst"+id) however the result is underfined

{{#each post in |pst idx|}}
    {{input value=(concat 'pst' idx)}}
{{/each}}




Aucun commentaire:

Enregistrer un commentaire