From 182e2fc3af820a5fd9245726b3a0c3098fc84f27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Fri, 25 Oct 2024 11:18:38 +0200 Subject: [PATCH] Set 'required' to false for Email field in UserGroupType form. Changed the Email field's 'required' option to false, allowing it to be optional. This adjustment aims to improve the usability and flexibility of the UserGroupType form. --- src/Bundle/ChillMainBundle/Form/UserGroupType.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Bundle/ChillMainBundle/Form/UserGroupType.php b/src/Bundle/ChillMainBundle/Form/UserGroupType.php index 3f98907fa..2e3819560 100644 --- a/src/Bundle/ChillMainBundle/Form/UserGroupType.php +++ b/src/Bundle/ChillMainBundle/Form/UserGroupType.php @@ -39,6 +39,7 @@ class UserGroupType extends AbstractType 'label' => 'user_group.Email', 'help' => 'user_group.EmailHelp', 'empty_data' => '', + 'required' => false, ]) ->add('excludeKey', TextType::class, [ 'label' => 'user_group.ExcludeKey',