mardi 14 août 2018

emberJS resetting form fields when the user clicks on a browser's forward and back buttons

I am working on an emberJS application and I have a question regarding a browsers forward and back buttons: If a user navigates to a form, then fills out some information, then hits the browser back button, then the forward button, what is the proper way to reset the form so that the fields are blank again?

Do I need to explicitly set the fields to empty string or is there some way I can force a refresh rather than having the browser go to the cache?

Thanks,

Terry




Aucun commentaire:

Enregistrer un commentaire