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

[Vue warn]: Duplicate presence of slot "header" found in the same render tree -- v-data-table with search option #5261

Closed
sombriks opened this issue Oct 10, 2018 · 3 comments
Labels
upstream Problem with a third party library that we may have to work around

Comments

@sombriks
Copy link

Versions and Environment

Vuetify: 1.2.8
Vue: 2.5.16
Browsers: Firefox
OS: Fedora

steps to reproduce

see the project bellow to reproduce the problem

https://github.com/sombriks/v-data-table-duplicate-slot-issue

@nekosaur
Copy link
Member

I took a quick look at your repro, and I'm stumped. Unless I'm missing something really obvious. It does feel like more of a Vue issue than something on our end, possibly related to the fact that you have a slot inside a slot. But that should work afaik.

One workaround is to use scoped slot instead, like so

<tr slot="header" slot-scope="props">

That gets rid of the error.

@jacekkarczmarczyk
Copy link
Member

vuejs/vue#7913

@sombriks
Copy link
Author

indeed, this is vue-related.

thank you for the workaround!

@KaelWD KaelWD added the upstream Problem with a third party library that we may have to work around label Oct 21, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Oct 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
upstream Problem with a third party library that we may have to work around
Projects
None yet
Development

No branches or pull requests

4 participants