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