From: Raphaƫl Gertz <git@rapsys.eu>
Date: Sun, 8 Dec 2024 07:04:19 +0000 (+0100)
Subject: Enable error bubbling
X-Git-Tag: 0.5.4~1
X-Git-Url: https://git.rapsys.eu/packbundle/commitdiff_plain/8b3e5065464a5734fb7259b71c2d64b7cc463699

Enable error bubbling
---

diff --git a/Form/CaptchaType.php b/Form/CaptchaType.php
index 015a91b..f8cf3d0 100644
--- a/Form/CaptchaType.php
+++ b/Form/CaptchaType.php
@@ -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');