Skip to content

Commit

Permalink
Set required to false, as now it defaults to true without the required *
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamJHall committed Dec 6, 2021
1 parent b9eacf3 commit 4309baf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Form/Type/BraintreeIntegrationSettingsType.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,14 +130,16 @@ public function buildForm(FormBuilderInterface $builder, array $options)
'vaultMode',
CheckboxType::class,
[
'label' => 'aligent.braintree.settings.vault_mode.label'
'label' => 'aligent.braintree.settings.vault_mode.label',
'required' => false
]
)
->add(
'fraudProtectionAdvanced',
CheckboxType::class,
[
'label' => 'aligent.braintree.settings.fraud_protection_advanced.label'
'label' => 'aligent.braintree.settings.fraud_protection_advanced.label',
'required' => false,
]
)
->add(
Expand Down

0 comments on commit 4309baf

Please sign in to comment.