Use widgets to get checkboxes and add some vue

This commit is contained in:
Montana
2018-12-20 13:54:51 -05:00
parent 8eecb62034
commit b68097d665
6 changed files with 92 additions and 4 deletions

View File

@@ -0,0 +1,29 @@
import FormMixin from '../mixins/form'
import textinput from '../components/text_input'
export default {
name: 'otherinput',
mixins: [FormMixin],
components: {
textinput,
},
props: {
initialData: {
type: Array,
default: () => ({})
}
},
data: function () {
const {
other = true
} = this.initialData
return {
other
}
}
}