Skip to content

Commit

Permalink
fix(Stepper): wrong item in title & description slots
Browse files Browse the repository at this point in the history
Resolves #2888
  • Loading branch information
benjamincanac committed Dec 12, 2024
1 parent 33fb2ca commit 473194f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/runtime/components/Stepper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,12 @@ defineExpose({

<div :class="ui.wrapper({ class: props.ui?.wrapper })">
<StepperTitle :class="ui.title({ class: props.ui?.title })">
<slot name="title" :item="currentStep">
<slot name="title" :item="item">
{{ item.title }}
</slot>
</StepperTitle>
<StepperDescription :class="ui.description({ class: props.ui?.description })">
<slot name="description" :item="currentStep">
<slot name="description" :item="item">
{{ item.description }}
</slot>
</StepperDescription>
Expand Down

0 comments on commit 473194f

Please sign in to comment.