This commit is contained in:
2019-07-12 19:31:10 +00:00
parent b894446b37
commit 6ba43cde40

View File

@@ -47,6 +47,17 @@ export default {
if (!this.$gzlocale) {
throw "custom-fields-control: $gzlocale is required and missing";
}
// 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!";
// }
}
},
created() {
if (this.$gzdevmode()) {
if (!this.formKey) {
throw "custom-fields-control: formKey property is required and missing";
}