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

fix(VSelect): support kebab case item props in item prepend slot #20989

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yuwu9145
Copy link
Member

fixes #20320

Description

Markup:

<template>
  <v-app>
    <v-container>
      <v-select :items="items" />
      <v-autocomplete :items="items" />
      <v-combobox :items="items" />
    </v-container>
  </v-app>
</template>

<script setup>
  const items = [
    {
      title: 'Conjunctive filtering (AND)',
      value: 0,
      props: { prependIcon: 'mdi-set-center' },
    },
    {
      title: 'Disjunctive filtering (OR)',
      value: 1,
      props: { 'prepend-icon': 'mdi-set-all' },
    },
    {
      title: 'Conjunctive filtering 2 (AND)',
      value: 2,
      props: { appendIcon: 'mdi-set-center' },
    },
    {
      title: 'Disjunctive filtering 2 (OR)',
      value: 3,
      props: { 'append-icon': 'mdi-set-all' },
    },
  ]
</script>

@yuwu9145 yuwu9145 requested a review from a team February 16, 2025 06:11
@KaelWD
Copy link
Member

KaelWD commented Feb 17, 2025

I don't think this is really necessary: #20320 (comment)

@johnleider
Copy link
Member

I don't think this is really necessary: #20320 (comment)

But it seems to already be mostly supported?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug Report][3.6.14] [VSelect] Prepend icon isn't working when using kebab case
3 participants