mardi 3 mai 2016

Ember.js setting the for attribute on label

I have HTMLBars template that has label and a Ember input component, I would like to know what is the best way to set the for attribute on the label reference the component. Is there way I can access the component id from outside the component. I know you can set the manually set the id on component however I would like evade doing that in case this cause duplicate id conflict




Aucun commentaire:

Enregistrer un commentaire