grav-theme-big-picture icon indicating copy to clipboard operation
grav-theme-big-picture copied to clipboard

Error if JavaScript is added by a form field

Open LeePorte opened this issue 3 years ago • 0 comments

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.

LeePorte avatar Jul 15 '21 21:07 LeePorte