]> Raphaël G. Git Repositories - packbundle/commitdiff
Enable error bubbling
authorRaphaël Gertz <git@rapsys.eu>
Sun, 8 Dec 2024 07:04:19 +0000 (08:04 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Sun, 8 Dec 2024 07:04:19 +0000 (08:04 +0100)
Form/CaptchaType.php

index 015a91bac486f8a522540c2d2c0cc6b2e5040439..f8cf3d024deba7465841d157d49a34981c7947e4 100644 (file)
@@ -71,7 +71,7 @@ class CaptchaType extends AbstractType {
                parent::configureOptions($resolver);
 
                //Set defaults
-               $resolver->setDefaults(['captcha' => false, 'translation_domain' => RapsysPackBundle::getAlias()]);
+               $resolver->setDefaults(['captcha' => false, 'error_bubbling' => true, 'translation_domain' => RapsysPackBundle::getAlias()]);
 
                //Add extra captcha option
                $resolver->setAllowedTypes('captcha', 'boolean');