vuetifyjs/vuetify

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

已关闭

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

 (1 条评论) (0 个反应) (1 位负责人)TypeScript (7,139 个派生)batch import
E: defaultsT: bughelp wanted

仓库指标

星标
 (40,995 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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/#...

贡献者指南