mardi 7 juin 2016

How to add a helper function in a dynamic template for one of the elements in a component

I'm trying to dynamically create my template as below:

template: '<div> <input type="checkbox"   value="#:' + filterField + '#"/>#:' + filterField + '#</div>'

report-checkedvalue is my helper which returns checked or unchecked value for my checkbox input. But i can get it to work.I appreciate any help!




Aucun commentaire:

Enregistrer un commentaire