-
Notifications
You must be signed in to change notification settings - Fork 25.5k
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
Event handlers inside template nodes cannot use template variables in beta 16 #8261
Comments
Yes, this is a bug. Can be simplified to the following:
This does not work:
I.e. a |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Steps to reproduce and a minimal demo of the problem
Demo: https://gist.run/?id=7500849bedd0559d80faa27d087f7179
What steps should we try in your demo to see the problem?
Current behavior
The text next to the first button displays "undefined"
Expected/desired behavior
The text next to the second button displays "A Thing"
Other information
I've narrowed the problem down to the code generated for the event handlers:
In
_View_App1.prototype._handle_click_1_0
,self.context
is theApp
instance andthing
does not exist on it in.The text was updated successfully, but these errors were encountered: