-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
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
multiple v-slot with same name broken #9449
Comments
keep in mind |
Why would you do that anyway? |
So if you fix the casing it works: https://jsfiddle.net/yyx990803/zwm91b3x/ Note that with |
I have some components like this custom select. Inside I want to display
I guess it's possible to do something like this:
(This component can expect other slots). By the way even if the casing is fixed, only the last "instance" of the same slot is displayed ( |
In the new syntax you must group elements that belong to the same slot under the same template. |
Version
2.6.2
Reproduction link
https://jsfiddle.net/0e17wumz/
Steps to reproduce
With new syntax it's not possible to use multiple
v-slot
with same name.What is expected?
Display the slots
What is actually happening?
Nothing is displayed
slot
it works: https://jsfiddle.net/odvyztgw/The text was updated successfully, but these errors were encountered: