Add in basic implementation of the KO TO signature page
This commit is contained in:
29
js/components/levelofwarrant.js
Normal file
29
js/components/levelofwarrant.js
Normal file
@@ -0,0 +1,29 @@
|
||||
import Vue from 'vue'
|
||||
|
||||
import textinput from './text_input'
|
||||
import checkboxinput from './checkbox_input'
|
||||
import FormMixin from '../mixins/form'
|
||||
|
||||
export default Vue.component('levelofwarrant', {
|
||||
mixins: [FormMixin],
|
||||
|
||||
components: {
|
||||
textinput,
|
||||
checkboxinput,
|
||||
},
|
||||
|
||||
props: {
|
||||
initialData: {
|
||||
type: Object,
|
||||
default: () => ({}),
|
||||
},
|
||||
},
|
||||
|
||||
data() {
|
||||
const { unlimited_level_of_warrant = false } = this.initialData
|
||||
|
||||
return {
|
||||
unlimited_level_of_warrant,
|
||||
}
|
||||
},
|
||||
})
|
Reference in New Issue
Block a user