lundi 6 mars 2017

Ember.js action on checkbox with dynamic generated id

In an Ember.js 2.11 template I have an each cycle that iterate on a model. Inside it I place an input checkbox whit dynamic generated id (like "chk-"+row_model.id). This checkbox isn't associated with any model option but enable/disable (maybe with a css class) only another input text with the same style dynamic generated id (like "txt-"+row_model.id).

How can I do this?




Aucun commentaire:

Enregistrer un commentaire