This commit is contained in:
2020-04-04 00:17:00 +00:00
parent 02ada3a759
commit fa49eefc53
3 changed files with 35 additions and 1 deletions

View File

@@ -19,7 +19,7 @@
<template v-for="item in obj">
<v-col :key="item.key" cols="12" sm="6" lg="4" xl="3" px-2>
<v-card>
<v-card :data-cy="!!enableCypress ? item.key : false">
<v-card-title>
{{ item.title }}
</v-card-title>
@@ -112,6 +112,7 @@ export default {
},
data() {
return {
enableCypress: true,
obj: [],
concurrencyToken: undefined,
formCustomTemplateKey: this.$route.params.formCustomTemplateKey,
@@ -330,6 +331,9 @@ function initForm(vm) {
// Ensures UI translated text is available
//
function fetchTranslatedText(vm) {
//NOTE: This form expects to arrive here from the form being customized
//so it does *not* attempt to fetch the translations for the field names of the form in question
//since they should already be set by that form.
let tKeysRequired = [
"FormFieldEntryRequired",
"FormFieldVisible",