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

Closed
julaudo opened this issue Oct 31, 2019 · 3 comments

Comments

@julaudo
Copy link

@julaudo julaudo commented Oct 31, 2019

Version

2.6.10

Reproduction link

https://codepen.io/jaudo/pen/MWWOeBp?&editable=true&editors=101#anon-signup

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

@Justineo

This comment has been minimized.

Copy link
Member

@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
@julaudo

This comment has been minimized.

Copy link
Author

@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
Projects
None yet
3 participants
You can’t perform that action at this time.