I have a template using
{{$Model.MYModel.data.length}}
on 2 pages.
This only works on page1 if the component’s model is set to MYModel. If It is set to any other model it displays 0.
On page2 it works exactly as expected.
What are the factors that could cause this problem (and yes, the model does have rows)?
Page 1 / 1
Matt, check the templates’ settings… does one have “Do not run template on each row” checked?
I figured it out. I had to change it to a component and subscribe to the model and wait for it to load. Thanks.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.