Error: reCAPTCHA client has been deleted: 0
See original GitHub issueSummary
I’m submitting a:
- bug report
- feature request
- question / support request
- other
Description
I use the forms module and use the recaptcha component as follows:
<re-captcha formControlName="captcha"></re-captcha>
After my form is successfully submitted, I remove it from the DOM using an *ngIf
to show a “Thank you” message and a “Start over” button. When I click on the Start over
button, the form reappears as I set the ngIf
condition to true and reset my form using form.reset()
. When this happens, I get the following error:
Workaround
In my template:
<re-captcha (resolved)="recaptchaResolved($event)"></re-captcha>
In my component:
recaptchaResolved(response: string) {
this.form.get('captcha').setValue(response);
}
Lib versions:
- ng-recaptcha: 4.2.1
- Angular: 7.2.0
- Typescript (
tsc --version
): 3.2.2
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:14 (1 by maintainers)
Top Results From Across the Web
firebase signInWithPhoneNumber recaptcha client has been ...
signInWithPhoneNumber goes straight to the catch with the error "recaptcha client has been deleted 0" even after I do grecaptcha.reset(this.
Read more >signInWithPhoneNumber recaptcha client has been deleted 0
Hi I'm trying to authenticate users with phone numbers without using firebaseui. my html template looks like this:
Read more >firebase signInWithPhoneNumber recaptcha client has been ...
Ok so the error was because the recaptcha container got deleted, I set loading to true on the sendLoginCode() and the loading would...
Read more >48363 Can't sent form after missing fields due te Captcha
When checked the form, I saw this error in the browser console: reCAPTCHA client element has been removed: 0. Seems the problem is...
Read more >Frequently Asked Questions | reCAPTCHA - Google Developers
This is a focusing bug on Apple's side that we've reported to them. It affects users only on iOS 10 and only on...
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 FreeTop 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
Top GitHub Comments
We have a contact within Google Engineering, but we will be following up with them to see if there is a public bulletin that will be posted about it. If they do release it, I will be sure to provide it back here. I know this affected many people from their email.
Do you happen to have a source on that - was there a post about it?