Hide fields on page load if necessary

This commit is contained in:
richard-dds
2018-08-14 15:57:38 -04:00
parent d5d1265cd7
commit c639a82b82
2 changed files with 6 additions and 3 deletions

View File

@@ -17,8 +17,12 @@ export default {
},
data: function () {
const {
am_poc = 'no'
} = this.initialData
return {
am_poc: "no"
am_poc
}
},
@@ -35,7 +39,6 @@ export default {
methods: {
handleFieldChange: function (event) {
const { value, name } = event
console.log(value, name)
if (typeof this[name] !== undefined) {
this[name] = value
}