atst/js/components/forms/financial.js
2018-08-23 16:51:09 -04:00

32 lines
459 B
JavaScript

import FormMixin from '../../mixins/form'
import optionsinput from '../options_input'
import textinput from '../text_input'
export default {
name: 'financial',
mixins: [FormMixin],
components: {
optionsinput,
textinput,
},
props: {
initialData: {
type: Object,
default: () => ({})
}
},
data: function () {
const {
funding_type = ""
} = this.initialData
return {
funding_type
}
}
}