-
-
Notifications
You must be signed in to change notification settings - Fork 33.6k
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
v-if loses data context #489
Comments
A simple example seems to work correctly, so I suspect it's something else... are you using a component with the v-if as well? |
Here is a demo: http://codepen.io/anon/pen/abJys |
Oh ok, thought you are referring to a property instead of |
This works as expected:
But if I introduce a
v-if
directive:I just get a empty object as the text.
The text was updated successfully, but these errors were encountered: