From 4309bafc0e734ca66abf725ff0bcc2d0ea9c150a Mon Sep 17 00:00:00 2001 From: Adam Hall Date: Mon, 6 Dec 2021 16:13:56 +1030 Subject: [PATCH] Set required to false, as now it defaults to true without the required * --- src/Form/Type/BraintreeIntegrationSettingsType.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Form/Type/BraintreeIntegrationSettingsType.php b/src/Form/Type/BraintreeIntegrationSettingsType.php index d6450ef5c..fce3c6066 100644 --- a/src/Form/Type/BraintreeIntegrationSettingsType.php +++ b/src/Form/Type/BraintreeIntegrationSettingsType.php @@ -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(