angular2-recaptcha icon indicating copy to clipboard operation
angular2-recaptcha copied to clipboard

captchaResponse not being called on invisible mode

Open stevedeighton opened this issue 7 years ago • 2 comments

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!

stevedeighton avatar Sep 12 '17 13:09 stevedeighton

Same here. Did you find any solution?

muratcorlu avatar Dec 31 '17 07:12 muratcorlu

You need to call execute method to get captcha executed.

Execute method can be called only when you use invisible captcha.

lolbro-pl avatar Jan 26 '18 11:01 lolbro-pl