vuetifyjs/vuetify

[Bug Report][3.8.4] v-stepper-actions do not respect v-btn defaults

Open

#21,420 创建于 2025年5月15日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)TypeScript (40,995 star) (7,139 fork)batch import
E: defaultsT: bughelp wanted

描述

Environment

Vuetify Version: 3.8.4 Vue Version: 3.5.13 Browsers: Chrome 136.0.0.0 OS: Mac OS 10.15.7

Steps to reproduce

  1. Configure vuetify defaults to have elevated button as default
defaults: {
    VBtn: {
      rounded: 4,
      variant: 'elevated',
      color: 'success'
    }
  },
  1. try to use stepper without defining your own buttons for stepper actions
<v-stepper v-model="step" :items="['item1', 'item2', 'item3']">
        <template v-slot:item.1> a </template>
        <template v-slot:item.2> b </template>
        <template v-slot:item.3> c </template>
      </v-stepper>

Expected Behavior

Action buttons in stepper respect global button defaults

Actual Behavior

Action buttons do not respect global button defaults

Reproduction Link

https://play.vuetifyjs.com/#...

贡献者指南