[SOLVED] Template data and "this"

Sometimes my template data is not directly accessible:
{{settings.checkAddress}} displays undefined
{{this.settings.checkAddress}} correctly displays checkAddress’ value
Why is that ?

1 Like

Do you have a helper function (either global, or defined on the template) called settings? What happens if you use {{settings}} do you get any result?


your data context can also change when you use {{#each}} or {{#with}}

Can you post your template code?

Yes I do have a general settings helper registered.
Silly me.
Thanks guys.