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.
This commit is contained in:
2024-10-25 11:18:38 +02:00
parent 7df5a22b14
commit 182e2fc3af

View File

@@ -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',