From 06b7e8427003c6875c08b45a4e20c64a751fb571 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Thu, 16 Mar 2023 13:48:01 +0100 Subject: [PATCH] FIX [thirdparty][profession] set default value for profession in symfony form --- src/Bundle/ChillThirdPartyBundle/Form/ThirdPartyType.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Bundle/ChillThirdPartyBundle/Form/ThirdPartyType.php b/src/Bundle/ChillThirdPartyBundle/Form/ThirdPartyType.php index 384c743c2..b1446a543 100644 --- a/src/Bundle/ChillThirdPartyBundle/Form/ThirdPartyType.php +++ b/src/Bundle/ChillThirdPartyBundle/Form/ThirdPartyType.php @@ -110,6 +110,7 @@ class ThirdPartyType extends AbstractType ->add('profession', TextType::class, [ 'label' => 'thirdparty.Profession', 'required' => false, + 'empty_data' => '', ]) ->add('contactDataAnonymous', CheckboxType::class, [ 'required' => false,