Skip to content

How to add multiple instance on the same page #2062

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

Open
imtardif opened this issue Feb 17, 2025 · 0 comments
Open

How to add multiple instance on the same page #2062

imtardif opened this issue Feb 17, 2025 · 0 comments

Comments

@imtardif
Copy link

imtardif commented Feb 17, 2025

Hi,
I have been literally trying everything in the last 3-4 days to implement a secondary vue-recaptcha component in a Vue/Laravel project but every single time it won't work. Both recaptcha are in different components (Contact form and another form) which are both on the same page (homepage).

The problem is that both won't work at the same time. Either only the 1st gets rendered and works and the 2nd one is never rendered. Either both displayed but neither is working or neither gets rendered. I have tried manually rendering them which works but then the captcha field in the form/post is empty.... I am totally lost I have tried probably near a 10-15 different approaches and have read all documentation on this component. I have yet to encounter a single post or example of a setup using 2 recaptcha on the same page (different component tho).

(Using Vue2 with the reCAPTCHA v2)

Please let me know if you can help me!
Thank you

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