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

Error if JavaScript is added by a form field #27

Open
LeePorte opened this issue Jul 15, 2021 · 0 comments
Open

Error if JavaScript is added by a form field #27

LeePorte opened this issue Jul 15, 2021 · 0 comments

Comments

@LeePorte
Copy link

Hi,

I've stumbled across something that I think may be a bug.

Running on Grav 1.7.17 I have noticed that when using recaptcha V3 the JavaScript added to the list to bundle at https://github.com/getgrav/grav-plugin-form/blob/develop/templates/forms/fields/captcha/captcha.html.twig#L15 doesn't get loaded

If I take the line an add it to partials/head.html.twig and populate the site-key and the theme all works as expected.

I haven't had any issues with V2 recaptchas rendering only when changing to V3 did this occur.

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

No branches or pull requests

1 participant