dozoisch / react-google-recaptcha

Component wrapper for Google reCAPTCHA
MIT License
1.03k stars 142 forks source link

Uncaught Error: ReCAPTCHA placeholder element must be empty #16

Closed dfala closed 8 years ago

dfala commented 8 years ago

That error is everywhere. Maybe I'm using it wrong?

0m15 commented 8 years ago

Started happening to me as well since yesterday. It seems that it's caused by double-rendering. Calling grecaptcha.reset() somewhere should fix, but I have to figure it out.

bobiblazeski commented 8 years ago

Started happening to me too.

dozoisch commented 8 years ago

Is that happening on 0.5 or 0.5.1? One issue was caused by the fact that id can now start at 0.

bobiblazeski commented 8 years ago

No error on 0.5.1, many thanks

dfala commented 8 years ago

Same here, thanks! - close issue?

dozoisch commented 8 years ago

cool! Let me know if it shows up again!

msepahvand commented 8 years ago

Is it at all possible to fix this for 0.4/react 1.3? We are unable to upgrade our react since a whole lot of other components break. Would be great if a fix would be sneaked in for 0.4 ;)

dozoisch commented 8 years ago

@elduderino87 I'll see what I can do!

dozoisch commented 8 years ago

@elduderino87 I published v0.4.1 to npm, let me know if it works!

msepahvand commented 8 years ago

@dozoisch +1 That did it, thanks for the quick help and the great component :+1:

bensmithett commented 8 years ago

:+1: also updated to 0.4.1 to fix this, did the trick. Thanks!

rontornambe commented 8 years ago

This error just started happening to me on 6/14/2016. I thought the latest version of reCaptcha was 2.0. Of what software is 0.5.1?

dozoisch commented 8 years ago

@rontornambe google reCaptcha is 2.0

react-google-recaptcha that is a react component to print a captcha is version 0.5.1