vuetify icon indicating copy to clipboard operation
vuetify copied to clipboard

fix(VTabs): render tabs correctly using items

Open lzl0304 opened this issue 1 year ago • 0 comments

Description

fixes #19855

Markup:

<template>
  <v-app>
    <v-container>
      <v-tabs v-model="value">
        <v-tab :value="1">A</v-tab>
        <v-tab :value="2">B</v-tab>
        <v-tab :value="3">C</v-tab>
      </v-tabs>

      <v-divider class="my-8" />

      <v-tabs v-model="value" :items="items" />
    </v-container>
  </v-app>
</template>

<script setup>
  import { ref } from 'vue'

  const value = ref(2)
  const items = [
    { text: 'A', value: 1 },
    { text: 'B', value: 2 },
    { text: 'C', value: 3 },
  ]
</script>

lzl0304 avatar May 23 '24 09:05 lzl0304