appleboy / appleboy/react-recaptcha

Rendering the same form twice on the page gives a captcha already been rendered error

Open
#229 5 comments 7 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
643
Forks
96
PR merge metrics
No merged PRs in 30d

Description

I have a form that appears on the page but might appear/get rendered again **on the same page** when a user clicks a modal button.

The problem is that I get the following error if that form is being rendered twice on the page:

Error: reCAPTCHA has already been rendered in this element at Object.Hr [as render]

How do I solve this?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.