Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option 'charset' on the CaptchaType has no effect #228

Open
middlebrain opened this issue Jan 10, 2022 · 2 comments · May be fixed by #241
Open

Option 'charset' on the CaptchaType has no effect #228

middlebrain opened this issue Jan 10, 2022 · 2 comments · May be fixed by #241

Comments

@middlebrain
Copy link

middlebrain commented Jan 10, 2022

According to the documentation the following statement should work:

$builder->add('captcha', CaptchaType::class, array(
    'charset' => '23456789',
));

But it has no effect.

The 'ignore_all_effects' => true option is also ignored. Maybe there are other options affected too.

@jentscke
Copy link

jentscke commented Mar 9, 2022

The issue only occurs while using the as_url-option.

Try to add the missing options in this array:
https://github.com/Gregwar/CaptchaBundle/blob/master/Type/CaptchaType.php#L114
works for charset and ignore_all_effects for me.

Don't have the routine to provide PRs, feel free to do so ;).

@jentscke
Copy link

Added PR for this issue, see #231 @middlebrain @Gregwar

@blankse blankse linked a pull request Jun 7, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants