multi-step form modal with basic implementation for adding new member

This commit is contained in:
dandds
2019-03-22 13:36:21 -04:00
parent 6b59ab800b
commit 1bc434be8c
7 changed files with 159 additions and 5 deletions

View File

@@ -0,0 +1,43 @@
import FormMixin from '../../mixins/form'
import textinput from '../text_input'
import optionsinput from '../options_input'
import Selector from '../selector'
import Modal from '../../mixins/modal'
import toggler from '../toggler'
export default {
name: 'multi-step-modal-form',
mixins: [FormMixin, Modal],
components: {
toggler,
Modal,
Selector,
textinput,
optionsinput,
},
props: {},
data: function() {
return {
step: 0,
}
},
mounted: function() {
return {}
},
methods: {
next: function() {
this.step += 1
},
goToStep: function(step) {
this.step = step
},
},
computed: {},
}