mercredi 4 mars 2015

Ember Bootstrap disabled text input box

I'm having some trouble making a bootstrap text input field disabled after putting handlebars around the input. Is there a way to do this or should I be taking a different approach. I eventually want to be able to click an EDIT button and be able to edit/save these fields.


Works:



<input class="form-control" id="name" type="text" value="Jim" disabled>


Doesn't work:



{{input class="form-control" id="name" type="text" value=this.name disabled}}




Aucun commentaire:

Enregistrer un commentaire