We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Here is an example https://jsfiddle.net/h6azrhhz/
Template:
<section> <template v-if="false"> </template> <template v-else> <div v-if="condition" class="my-class">I'm loading</div> <div v-else>I'm loaded</div> </template> </section>
If v-if v-else block nested into another v-if, it produces error
VM205 vue.js:427TypeError: Cannot read property 'attrs' of undefined
when switching value of condition.
condition
As i researched, need 3 conditions to reproduce the issue
Workaround is to use v-if="condition" and v-if="!condition" instead of v-else
Thanks
The text was updated successfully, but these errors were encountered:
58949bd
after the latest update 2.1.4 still facing the problem. For now using the workaround that @kamax1 described.
Sorry, something went wrong.
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Here is an example https://jsfiddle.net/h6azrhhz/
Template:
If v-if v-else block nested into another v-if, it produces error
when switching value of
condition
.As i researched, need 3 conditions to reproduce the issue
Workaround is to use v-if="condition" and v-if="!condition" instead of v-else
Thanks
The text was updated successfully, but these errors were encountered: