vuetify
vuetify copied to clipboard
fix(VTabs): render tabs correctly using items
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>