mirror of
https://github.com/tenrok/vue-form-wizard.git
synced 2026-06-24 19:50:35 +03:00
hideButtons prop added
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<form-wizard @on-complete="onComplete"
|
<form-wizard @on-complete="onComplete"
|
||||||
|
:hide-buttons="false"
|
||||||
shape="square"
|
shape="square"
|
||||||
color="gray"
|
color="gray"
|
||||||
@on-loading="setLoading"
|
@on-loading="setLoading"
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -45,7 +45,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="wizard-card-footer">
|
<div class="wizard-card-footer" v-if="!hideButtons">
|
||||||
<template>
|
<template>
|
||||||
<span @click="prevTab" v-if="displayPrevButton" class="wizard-footer-left">
|
<span @click="prevTab" v-if="displayPrevButton" class="wizard-footer-left">
|
||||||
<slot name="prev">
|
<slot name="prev">
|
||||||
@@ -104,6 +104,10 @@
|
|||||||
type: String,
|
type: String,
|
||||||
default: 'Finish'
|
default: 'Finish'
|
||||||
},
|
},
|
||||||
|
hideButtons: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false
|
||||||
|
},
|
||||||
validateOnBack: Boolean,
|
validateOnBack: Boolean,
|
||||||
/***
|
/***
|
||||||
* Applies to text, border and circle
|
* Applies to text, border and circle
|
||||||
|
|||||||
Reference in New Issue
Block a user