This commit is contained in:
2019-07-19 00:10:06 +00:00
parent 2137d57e76
commit 300105ad41
4 changed files with 92 additions and 37 deletions

View File

@@ -115,7 +115,7 @@ export default {
value: String,
formKey: String, //used to grab template from store
readOnly: Boolean
},
},
computed: {
c2: {
get: function() {
@@ -154,7 +154,7 @@ export default {
//
var cData = JSON.parse(this.value);
//then set item in the cData
//then set item in the cData
//TODO: This will likely need also to be converted because dates and stuff
//initial naive attempt: (tostring is suspect)
cData[dataKey] = newValue.toString();
@@ -180,10 +180,11 @@ export default {
}
//trigger the template fetch
//var v=this.$store.state.formCustomTemplate[this.formKey];
},
created() {
console.log("custom-fields-control::BEFORECREATE: TOP");
if (this.$gzdevmode()) {
//debugger;
if (!this.formKey) {