DethAriel / ng-recaptcha

Angular component for Google reCAPTCHA
https://dethariel.github.io/ng-recaptcha/
MIT License
463 stars 122 forks source link

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

Open Nirnic opened 6 months ago

Nirnic commented 6 months ago

Summary

I'm submitting a:

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: