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(VListItem): display color when in list #16783

Closed
wants to merge 2 commits into from

Conversation

yuwu9145
Copy link
Member

@yuwu9145 yuwu9145 commented Feb 26, 2023

fixes #16624

Description

resolves #16624

Markup:

<template>
  <v-app>
    <v-main>
      <v-list v-model:selected="selectedDocs" variant="outlined" active-color="warning" color="info">
        <v-list-item
          v-for="(doc,i) in docs"
          :key="i"
          :value="doc.id"
        >
        	<v-list-item-title>
          	{{ doc.id }}
          </v-list-item-title>
        </v-list-item>
      </v-list>
      <v-list v-model:selected="selectedDocs" variant="outlined" color="info">
        <v-list-item
          v-for="(doc,i) in docs"
          :key="i"
          :value="doc.id"
        >
        	<v-list-item-title>
          	{{ doc.id }}
          </v-list-item-title>
        </v-list-item>
      </v-list>
    </v-main>
  </v-app>
</template>

<script setup>
import { ref } from 'vue'
  
  const selectedDocs = ref([])
  
  const docs = [{id:1},{id:2},{id:3},{id:4},{id:5},{id:6}]

const msg = ref('Hello World!')
</script>

@KaelWD
Copy link
Member

KaelWD commented May 2, 2023

This has been broken since beta, I think it's too late to fix this way now.

@KaelWD KaelWD closed this May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants