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

Cannot use {{# each.}}} #669

Open
zhangwuqiao opened this issue Aug 15, 2024 · 1 comment
Open

Cannot use {{# each.}}} #669

zhangwuqiao opened this issue Aug 15, 2024 · 1 comment

Comments

@zhangwuqiao
Copy link

{{#each .}}
sn:{{id}},flowID:{{flow_id}}
{{/each}}

json:
[{"id":1,"flow_id":50},{"id":2,"flow_id":51},{"id":3,"flow_id":52},{"id":4,"flow_id":53}]

 {{#each .}}

|---------^-
= reason: invalid handlebars syntax: expected identifier, helper_parameter, block_param, or trailing_tilde_to_omit_whitespace

图片

@sunng87
Copy link
Owner

sunng87 commented Aug 15, 2024

Yes. This is due to a limitation of our parser. You can use {{#each this}} as a workaround

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

2 participants