jeudi 4 février 2016

Dynamically add input field to Ember template/route/view, update model with data

I am very new to Ember and had a question on dynamic elements. I was wondering how to dynamically add input fields to my ember template/model controlled by a button click. Then have that info be able to update on the model.

I know how to handle if its static. Im familiar with updating controller with action events and writing functions to handle them. I have not modified the view on an action before.

logic and keywords are welcomed, I do not need exact code however it will be helpful.

Thanks!




Aucun commentaire:

Enregistrer un commentaire