Skip to content
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

Condition on template with v-if using v-slot prop #10784

julaudo opened this issue Oct 31, 2019 · 3 comments


Copy link

@julaudo julaudo commented Oct 31, 2019



Reproduction link

Steps to reproduce

Launch the codepen

What is expected?

No error should appear. The template should be active only for items having loading = true

What is actually happening?

An error appears : item is undefined while evaluating item.loading


This comment has been minimized.

Copy link

@Justineo Justineo commented Oct 31, 2019

Hi, please provide a minimal reproduction. That means no 3rd party libraries should be included, eg. Vuetify.

@posva posva closed this Oct 31, 2019

This comment has been minimized.

Copy link

@julaudo julaudo commented Oct 31, 2019

Thank you for your answer but this is not a good solution, because the component can have specific behaviour depending on the presence of the slot (as explained in my example with vuetify)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.