This commit is contained in:
@@ -16,7 +16,11 @@ function addDataKeyNames(obj) {
|
||||
}
|
||||
|
||||
export default {
|
||||
// cache the form customization data if it's not already present
|
||||
////////////////////////////////
|
||||
// Cache the form customization data if it's not already present
|
||||
// NOTE: FORM KEY **MUST** BE THE AYATYPE NAME WHERE POSSIBLE, IF NO TYPE THEN AN EXCEPTION NEEDS TO BE CODED IN
|
||||
//SERVER FormFieldReference.cs -> public static List<string> FormFieldKeys
|
||||
//
|
||||
async get(formKey) {
|
||||
if (
|
||||
!window.$gz.util.has(window.$gz.store.state.formCustomTemplate, formKey)
|
||||
|
||||
@@ -691,6 +691,8 @@ export default {
|
||||
// NOTE: that in a form this should only be used with non stock-required fields, if they are already required they cannot be hidden
|
||||
//
|
||||
showMe(vm, formCustomTemplateFieldName) {
|
||||
//TODO: CHILD COLLECTION MOD handle dot notation path indexed collection etc
|
||||
// possibly it will just work since the key will match but double check
|
||||
//special check for wiki field
|
||||
//if read only then can't add any content and if no content then no reason to show it at all
|
||||
if (formCustomTemplateFieldName == "wiki") {
|
||||
|
||||
Reference in New Issue
Block a user