We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can't really explain what's wrong, but an example will probably say enough. Here's a complete fiddle: https://jsfiddle.net/Toverbal/7gc9br80/
Data:
var data = { level1: { level2: 'This is level 2!', }, withwrapper: { content: 'This is dummy content', }, };
Template (this is just a snippet from the complete fiddle!):
{{#with withwrapper}} {{#if ../level1}} <div>This fails: {{ ../level1.level2 }}</div> {{/if}} {{/with}}
Strange thing is that ../../level1.level2 will give result and if you don't add the #if, the ../level1.level2 actually works.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I can't really explain what's wrong, but an example will probably say enough. Here's a complete fiddle: https://jsfiddle.net/Toverbal/7gc9br80/
Data:
Template (this is just a snippet from the complete fiddle!):
Strange thing is that ../../level1.level2 will give result and if you don't add the #if, the ../level1.level2 actually works.
The text was updated successfully, but these errors were encountered: