Skip to content
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

How to handle errors on older Angular and ng-recaptcha versions #316

Open
1 of 4 tasks
Nirnic opened this issue Jan 3, 2024 · 0 comments
Open
1 of 4 tasks

How to handle errors on older Angular and ng-recaptcha versions #316

Nirnic opened this issue Jan 3, 2024 · 0 comments

Comments

@Nirnic
Copy link

Nirnic commented Jan 3, 2024

Summary

I'm submitting a:

  • bug report
  • feature request
  • question / support request
  • other

Description

While trying to handle reCAPTCHA errors using errored event emitter according to current documentation, I realized it does not work because it was introduced on a newer ng-recaptcha version (11.0.0) than the one I use in my project (6.1.0). Before it was introduced, 'errored' was named 'error', but it seems it does not work either, at least by trying to interact with reCAPTCHA after setting the network to "Offline". Am I right? How should we handle errors if so?
By the way, I have set errorMode property as 'handle' properly and am using invisible reCAPTCHA.

Thanks in advance for your help, really appreciate your work.

Lib versions:

  • ng-recaptcha: 6.1.0
  • Angular: 7
  • Typescript: 3.2.4
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