reset(); not working
See original GitHub issuereact-google-recaptcha version: 2.1.0 react-async-script version: 1.1.1
Hi,
guys I have a problem and I can’t get to the bottom of this…
I am currently using the react-google-recaptcha
v2.1.0 on my project and, for some reason, the https://www.google.com/recaptcha/api2/reload?XXX
call goes through ONLY for the first time…
If for various reasons I am trying to reset the recaptha - via recaptcha.current.reset();
or even window.grecaptcha.reset();
my /reload
POST doesn’t even show up in my network tab.
All my functions are in my window.grecaptcha and I can call each and everyone via console, no errors or anything, but when I am trying to reset it it doesn’t make the /reload
post…
Any thoughts? Thanks! E
Issue Analytics
- State:
- Created 3 years ago
- Comments:6
Top Results From Across the Web
Form resetting is not working - Stack Overflow
The problem here is that you've set the id of your button to "reset" . This automatically overwrites the built-in reset method of...
Read more >HTMLFormElement.reset() - Web APIs | MDN
If a form control (such as a reset button) has a name or id of reset it will mask the form's reset method....
Read more >ResetForm and Reset not resetting data on the Form
i tried resetting the individual field which is also not working. when creating a new record fields shows the value which was submitted...
Read more >Using JavaScript to reset or clear a form
<input type="button" value="Reset Form" onClick="this.form.reset()" />. These methods are very convenient to use, but they do not provide the functionality ...
Read more >Password Reset not working - WordPress.org
It's likely 1 of 2 things: caching (make sure the page isn't cached) or you're modifying emails somehow, perhaps for tracking purposes, and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Small update: Have’t done a single code change and it started working again (note: this was working fine when we thoroughly tested this a few months back)…
Thanks Google… I guess…
Thanks for the reply!
I’ll dig deeper into this…