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

[Bug Report] Issue with using prepend-icon as slot for v-list-group (slot name should be kebab-case instead of camelCase) #8676

Assignees
Labels
C: VListGroup VListGroup T: bug Functionality that does not work as intended/expected
Milestone

Comments

@chiragshahklc
Copy link

Environment

Vuetify Version: 2.0.10
Vue Version: 2.6.10
Browsers: Firefox 69.0
OS: Windows 10

Steps to reproduce

I am trying to set prepend-icon dynamically. I have name of icon into data . I want it to set using slot because I want to change color of icon.

Expected Behavior

v-slot:prepend-icon should make it work.
Though workaround as nekosaur suggested is working

<template #prependIcon>
            <v-icon class="red">{{iconName}}</v-icon>
</template>

Actual Behavior

v-slot:prepend-icon shows nothing. it doesn't work that way.

Reproduction Link

https://codepen.io/chiragshahklc/pen/xxKRvQR

@chiragshahklc chiragshahklc changed the title [Bug Report] Issue with using prepend-icon as slot for v-list-group [Bug Report] Issue with using prepend-icon as slot for v-list-group (slot name should be kebab-case instead of camelCase) Aug 22, 2019
@ghost ghost added the S: triage label Aug 22, 2019
@MajesticPotatoe MajesticPotatoe added T: bug Functionality that does not work as intended/expected C: VListGroup VListGroup and removed S: triage labels Oct 8, 2019
@ositowang
Copy link

Any progress on this bug?

@jacekkarczmarczyk
Copy link
Member

@ositowang #9788 (comment) (tldr - v3.x)

@KaelWD KaelWD added this to the v3.0.0 milestone Jan 11, 2020
louisdelphie added a commit to louisdelphie/vuetify that referenced this issue Jun 14, 2022
louisdelphie added a commit to louisdelphie/vuetify that referenced this issue Nov 9, 2022
@KaelWD KaelWD modified the milestones: v3.0.0, v3.x.x Apr 26, 2023
@KaelWD KaelWD modified the milestones: v3.x.x, v2.7.x Feb 12, 2024
@KaelWD KaelWD self-assigned this Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment