From e8f57dc40f21a78d0a4c79cf31579cb9afb2d024 Mon Sep 17 00:00:00 2001 From: iglocska Date: Mon, 17 Jan 2022 13:20:34 +0100 Subject: [PATCH] fix: [inividuals] add shouldn't have the tagging options - can't tag that which does not exist yet --- templates/Individuals/add.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/Individuals/add.php b/templates/Individuals/add.php index 935c2de..19bcf36 100644 --- a/templates/Individuals/add.php +++ b/templates/Individuals/add.php @@ -23,7 +23,8 @@ ), array( 'field' => 'tag_list', - 'type' => 'tags' + 'type' => 'tags', + 'requirements' => $this->request->getParam('action') === 'edit' ), ), 'metaTemplates' => empty($metaTemplates) ? [] : $metaTemplates,