Skip to content

Commit

Permalink
Do not throw exception on gateway edit and create
Browse files Browse the repository at this point in the history
  • Loading branch information
lchrusciel committed Oct 31, 2024
1 parent 695fb50 commit 77089f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Form/Type/TpayGatewayConfigurationType.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
'constraints' => [
new NotBlank(allowNull: false, groups: ['sylius']),
],
'empty_data' => '',
],
)
->add(
Expand All @@ -49,6 +50,7 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
'constraints' => [
new NotBlank(allowNull: false, groups: ['sylius']),
],
'empty_data' => '',
],
)
->add(
Expand Down

0 comments on commit 77089f9

Please sign in to comment.