diff --git a/src/Form/Type/TpayGatewayConfigurationType.php b/src/Form/Type/TpayGatewayConfigurationType.php index 59099980..0f15cbb9 100644 --- a/src/Form/Type/TpayGatewayConfigurationType.php +++ b/src/Form/Type/TpayGatewayConfigurationType.php @@ -38,6 +38,7 @@ public function buildForm(FormBuilderInterface $builder, array $options): void 'constraints' => [ new NotBlank(allowNull: false, groups: ['sylius']), ], + 'empty_data' => '', ], ) ->add( @@ -49,6 +50,7 @@ public function buildForm(FormBuilderInterface $builder, array $options): void 'constraints' => [ new NotBlank(allowNull: false, groups: ['sylius']), ], + 'empty_data' => '', ], ) ->add(