Skip to content

Commit

Permalink
docs(useStepper): fix stepper.isLast usage in demo.vue (#2688)
Browse files Browse the repository at this point in the history
  • Loading branch information
osbre committed Jan 29, 2023
1 parent e054a24 commit eb55dc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/useStepper/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ function allStepsBeforeAreValid(index: number): boolean {
</div>

<div>
<button v-if="!stepper.isLast" :disabled="!stepper.current.value.isValid()">
<button v-if="!stepper.isLast.value" :disabled="!stepper.current.value.isValid()">
Next
</button>
<button v-if="stepper.isLast" :disabled="!stepper.current.value.isValid()">
<button v-if="stepper.isLast.value" :disabled="!stepper.current.value.isValid()">
Submit
</button>
</div>
Expand Down

0 comments on commit eb55dc1

Please sign in to comment.