-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Helper cannot return Array or Object #1229
Comments
You can use your helper as argument to the {{#each}}-helper in order to iterate the array. Try this template: {{#each (testArray)}}
{{.}}.loop
{{/each}} |
@nknapp Thank you! It works! |
This was referenced Sep 16, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! It seems that return value of custom helpers will force cast to string.
e.g.
Can I return Array or Object from helpers?
The text was updated successfully, but these errors were encountered: