This commit is contained in:
2019-07-12 19:38:35 +00:00
parent ec2897b4d4
commit 23d56d91d7
2 changed files with 10 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
<template>
<div>
<div v-if="this.$store.state.formCustomTemplate[formKey]">
<span class="v-label v-label--active theme--light">
{{ this.$gzlocale.get("ObjectCustomFieldCustomGrid") }}
</span>
@@ -17,7 +17,14 @@
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
/* Xeslint-disable */
////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**
*
* 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.
*
*
*
*/
export default {
data() {
return {
@@ -54,10 +61,6 @@ export default {
if (!this.formKey) {
throw "custom-fields-control: formKey property is required and missing";
}
if (!this.$store.state.formCustomTemplate[this.formKey]) {
throw "custom-fields-control: formCustomTemplate not in the Store!";
}
}
}
};

View File

@@ -620,7 +620,7 @@ function initForm(vm) {
return fetchLocaleText(vm).then(
populatePickLists(vm).then(
vm.$gzformcustomtemplate.get(FORM_CUSTOM_TEMPLATE_KEY)
)
)
);
}
@@ -636,7 +636,6 @@ function populatePickLists(vm) {
});
}
//////////////////////
//
//