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