-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Nested Each loses parent context variables #30
Comments
You can access it as |
@thetutlage Thanks! this could be in the documentation, I'm closing this as it's working fine with $parent accessor |
For me it's not working, seems like the $parent is undefined. |
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi
example code:
Where
renderPlan
is registered View.global via service provider in Adonis likeI've set debugger like
on the first debugger at runtime
this
this.context.resolve('item.plans')
returns correct value from objectthe second debugger stop, however, returns
""
( right after the newFrame() call )The text was updated successfully, but these errors were encountered: