This commit is contained in:
2021-05-03 20:08:23 +00:00
parent 9c2d9401d9
commit 364b9659a5

View File

@@ -4,6 +4,7 @@
<v-form ref="form" data-cy="customizeForm">
<v-row>
<gz-error :error-box-message="formState.errorBoxMessage"></gz-error>
<template v-for="item in obj">
<v-col :key="item.key" cols="12" sm="6" lg="4" xl="3" px-2>
<v-card :data-cy="item.key">
@@ -43,8 +44,8 @@
@input="dataTypeChanged(item)"
:data-cy="item.key + 'SelectType'"
></v-select>
<v-divider></v-divider>
<div>{{ item }}</div>
<!-- <v-divider></v-divider>
<div>{{ item }}</div> -->
</v-card-text>
</v-card>
</v-col>
@@ -428,8 +429,8 @@ async function initDataObject(vm) {
required: templateItem.required === true,
visible: templateItem.hide !== true,
type: templateItem.type,
hideable: templateItem.hideable,
requireable: templateItem.requireable
hideable: faf.hideable,
requireable: faf.requireable
};
//set title including optional section prepended
@@ -440,6 +441,7 @@ async function initDataObject(vm) {
}
vm.obj.push(objItem);
vm.concurrency = window.$gz.formCustomTemplate.getTemplateConcurrencyToken(
vm.formCustomTemplateKey
);