@sim085 wrote:
Maybe another way to ask the question is how to refresh the #each part of a page.
My scenario is as follows: I return a model from my route with the following structure:
{ title: "hello", tags: [ {value: "one"}, {value: "two"} ] }
I am using {{each}} to display the tags. I have a function in the router which I call through a button on the page. If from this function I change the title I can see the title change on the page. However if from this function I add a new tag nothing changes on the page.
I therefore was wondering; is {{each}} the right way to display this type of information? or should I use something else? If each is the correct way how to do this then how to refresh the page after changing the model?
Posts: 3
Participants: 2