Skip to content
New issue

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

Problem with js_if and special "@" variables #49

Open
maciej-izak opened this issue Feb 23, 2018 · 0 comments
Open

Problem with js_if and special "@" variables #49

maciej-izak opened this issue Feb 23, 2018 · 0 comments

Comments

@maciej-izak
Copy link

For example below code returns always true (even when selectedMenuID is different than ID):
{{#js_if "@root.selectedMenuID===this.ID"}}

but this version seems works correct (contains space before ===):
{{#js_if "@root.selectedMenuID ===this.ID"}}

this is inconsistent in comparison to other js_if expression, for example this works correct without space:
{{#js_if "123456===this.ID"}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant