From e12eade143921ec2d5cd03fc63b7fd9d64b16f4b Mon Sep 17 00:00:00 2001 From: yuri Date: Tue, 21 Aug 2018 12:05:59 +0300 Subject: [PATCH] fix template form --- .../metadata/clientDefs/Template.json | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/application/Espo/Resources/metadata/clientDefs/Template.json b/application/Espo/Resources/metadata/clientDefs/Template.json index be91036b35..5f80913788 100644 --- a/application/Espo/Resources/metadata/clientDefs/Template.json +++ b/application/Espo/Resources/metadata/clientDefs/Template.json @@ -21,5 +21,39 @@ } ] } + }, + "dynamicLogic": { + "fields": { + "body": { + "visible": { + "conditionGroup": [ + { + "type": "isNotEmpty", + "attribute": "entityType" + } + ] + } + }, + "header": { + "visible": { + "conditionGroup": [ + { + "type": "isNotEmpty", + "attribute": "entityType" + } + ] + } + }, + "variables": { + "visible": { + "conditionGroup": [ + { + "type": "isNotEmpty", + "attribute": "entityType" + } + ] + } + } + } } }