mirror of
https://github.com/tenrok/vue-form-wizard.git
synced 2026-06-14 16:42:23 +03:00
fixed footer slot code example so copying code will allow Previous Tab to work.
This commit is contained in:
+1
-1
@@ -211,7 +211,7 @@ One potential usage can be that you want to have a different button when complet
|
||||
```html
|
||||
<template slot="footer" slot-scope="props">
|
||||
<div class="wizard-footer-left">
|
||||
<wizard-button v-if="props.activeTabIndex > 0 && !props.isLastStep" :style="props.fillButtonStyle">Previous</wizard-button>
|
||||
<wizard-button v-if="props.activeTabIndex > 0 && !props.isLastStep" @click.native="props.prevTab()" :style="props.fillButtonStyle">Previous</wizard-button>
|
||||
</div>
|
||||
<div class="wizard-footer-right">
|
||||
<wizard-button v-if="!props.isLastStep"@click.native="props.nextTab()" class="wizard-footer-right" :style="props.fillButtonStyle">Next</wizard-button>
|
||||
|
||||
Reference in New Issue
Block a user