Skip to content
Discussion options

You must be logged in to vote

You only need v-model:selected="..." in v3
Playground reproduction:

<template>
  <v-app>
    <v-main>
      <code> {{ selected }} </code>   
      <v-card class="mx-auto" max-width="300">

        <v-list v-model:selected="selected" density="compact">
          <v-list-subheader>REPORTS</v-list-subheader>
          <v-list-item
           v-for="(item, i) in items"
           :key="i"
           :value="item"
           active-color="primary"
           >

            <template v-slot:prepend>
              <v-icon :icon="item.icon"></v-icon>
            </template>

            <v-list-item-title v-text="item.text"></v-list-item-title>
          </v-list-item>
        </v-list>
      </v…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
6 replies
@PrimozGodec
Comment options

@santiagoaloi
Comment options

@PrimozGodec
Comment options

@santiagoaloi
Comment options

@KaelWD
Comment options

Answer selected by Kugeleis
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants