mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
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:
parent
7df5a22b14
commit
182e2fc3af
@ -39,6 +39,7 @@ class UserGroupType extends AbstractType
|
|||||||
'label' => 'user_group.Email',
|
'label' => 'user_group.Email',
|
||||||
'help' => 'user_group.EmailHelp',
|
'help' => 'user_group.EmailHelp',
|
||||||
'empty_data' => '',
|
'empty_data' => '',
|
||||||
|
'required' => false,
|
||||||
])
|
])
|
||||||
->add('excludeKey', TextType::class, [
|
->add('excludeKey', TextType::class, [
|
||||||
'label' => 'user_group.ExcludeKey',
|
'label' => 'user_group.ExcludeKey',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user