This commit is contained in:
2019-07-18 18:47:03 +00:00
parent 770213914c
commit 7fdeb9bc65
2 changed files with 26 additions and 3 deletions

View File

@@ -61,6 +61,8 @@
/**
* v-if="item.hide == false"
*
* some discussion here might be useful: https://github.com/vuejs/vue/issues/1056
*
* TODO: have the template, have the custom field data, now just need to show it all properly and update the fragment of json when changes made which then updates the
* parent object.
*
@@ -92,7 +94,7 @@ CUSTOM FIELD DATA:
export default {
data() {
return {
obj: { me: 1, c2: "This is my c2 data!" },
obj: { me: 1, c2: "This is my c2 data!", WidgetCustom2: "Here is my OBJ.WidgetCustom2 Data!" },
WidgetCustom2: "Here is my WidgetCustom2 Data!"
};
},
@@ -116,6 +118,9 @@ export default {
},
bindName: function() {
return this.obj.c2;
},
translateFieldNameToDataObjectKeyName: function(fldName){
return "c2";
}
},
beforeCreate() {