Skip to content
This repository was archived by the owner on Feb 25, 2026. It is now read-only.

Commit 8dad97a

Browse files
authored
Merge pull request #291 from mackrais/master
Bug with v3 submit js event
2 parents bcacdbe + db8abba commit 8dad97a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Resources/views/Form/v3/ewz_recaptcha_widget.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
grecaptcha.ready(function () {
2121
grecaptcha.execute('{{ form.vars.public_key }}', { action: '{{ form.vars.action_name|default(constant('EWZ\\Bundle\\RecaptchaBundle\\Form\\Type\\EWZRecaptchaV3Type::DEFAULT_ACTION_NAME')) }}' }).then(function (token) {
2222
grecaptchaInput.value = token;
23-
grecaptchaForm.submit();
23+
HTMLFormElement.prototype.submit.call(grecaptchaForm);
2424
});
2525
});
2626
}, false);

0 commit comments

Comments
 (0)