angular2-recaptcha
angular2-recaptcha copied to clipboard
captchaResponse not being called on invisible mode
Hi,
My captchaResponse function is not being called when using invisible mode.
Template:
<re-captcha [size]="'invisible'" [badge]="'inline'" [site_key]="'MY KEY'" (captchaResponse)="handleCorrectCaptcha($event)"></re-captcha>
Component function:
handleCorrectCaptcha(event: string): void { console.log('captcha!'); this.recaptcha = event; }
Any ideas?
Cheers!
Same here. Did you find any solution?
You need to call execute method to get captcha executed.
Execute method can be called only when you use invisible captcha.