30 lines
440 B
JavaScript
30 lines
440 B
JavaScript
import FormMixin from '../../mixins/form'
|
|
import textinput from '../text_input'
|
|
import checkboxinput from '../checkbox_input'
|
|
|
|
export default {
|
|
name: 'poc',
|
|
|
|
mixins: [FormMixin],
|
|
|
|
components: {
|
|
textinput,
|
|
checkboxinput,
|
|
},
|
|
|
|
props: {
|
|
initialData: {
|
|
type: Object,
|
|
default: () => ({}),
|
|
},
|
|
},
|
|
|
|
data: function() {
|
|
const { am_poc = false } = this.initialData
|
|
|
|
return {
|
|
am_poc,
|
|
}
|
|
},
|
|
}
|