jeudi 29 septembre 2016

Route refresh in ember does not clear input controls content

In a template i have many input controls like text box.

I want to refresh the page, so i called this.refresh(); in the corresponding route's actions hash. Route is getting refreshed (model hook is fired..), but the user entered text in text boxes do not disappear. Then what is the point in refreshing?

How to make the input controls appear as it is like when the route was loaded first time?




Aucun commentaire:

Enregistrer un commentaire