]> Raphaƫl G. Git Repositories - packbundle/blobdiff - Form/CaptchaType.php
Enable error bubbling
[packbundle] / Form / CaptchaType.php
index 015a91bac486f8a522540c2d2c0cc6b2e5040439..f8cf3d024deba7465841d157d49a34981c7947e4 100644 (file)
@@ -71,7 +71,7 @@ class CaptchaType extends AbstractType {
                parent::configureOptions($resolver);
 
                //Set defaults
                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');
 
                //Add extra captcha option
                $resolver->setAllowedTypes('captcha', 'boolean');