This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user