Create base-form vue component
This commit is contained in:
parent
3ece7b4c89
commit
7fca19ebee
24
js/components/forms/base_form.js
Normal file
24
js/components/forms/base_form.js
Normal file
@ -0,0 +1,24 @@
|
||||
import FormMixin from '../../mixins/form'
|
||||
import textinput from '../text_input'
|
||||
import optionsinput from '../options_input'
|
||||
import DateSelector from '../date_selector'
|
||||
import MultiStepModalForm from './multi_step_modal_form'
|
||||
import multicheckboxinput from '../multi_checkbox_input'
|
||||
import funding from './funding'
|
||||
import checkboxinput from '../checkbox_input'
|
||||
import levelofwarrant from '../levelofwarrant'
|
||||
|
||||
export default {
|
||||
name: 'base-form',
|
||||
components: {
|
||||
textinput,
|
||||
optionsinput,
|
||||
DateSelector,
|
||||
MultiStepModalForm,
|
||||
multicheckboxinput,
|
||||
funding,
|
||||
checkboxinput,
|
||||
levelofwarrant,
|
||||
},
|
||||
mixins: [FormMixin],
|
||||
}
|
@ -34,6 +34,7 @@ import DateSelector from './components/date_selector'
|
||||
import SidenavToggler from './components/sidenav_toggler'
|
||||
import KoReview from './components/forms/ko_review'
|
||||
import savebutton from './components/save_button'
|
||||
import BaseForm from './components/forms/base_form'
|
||||
|
||||
Vue.config.productionTip = false
|
||||
|
||||
@ -70,6 +71,7 @@ const app = new Vue({
|
||||
SidenavToggler,
|
||||
KoReview,
|
||||
savebutton,
|
||||
BaseForm,
|
||||
},
|
||||
|
||||
mounted: function() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user