captchaResponse not being called on invisible mode
stevedeighton opened this issue · 2 comments
stevedeighton commented
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!
muratcorlu commented
Same here. Did you find any solution?
lolbro-pl commented
You need to call execute method to get captcha executed.
Execute method can be called only when you use invisible captcha.