Closed DmitrySkibitsky closed 6 years ago
you can post full source code? I try with this code and package working perfectly: multiple.blade.php
@thinhbuzz , http://gclinic.ck.ua/contacts is the page on which I tested. If it does not make it difficult to look in the source code or try to reset it in the console and tell me what's wrong.
function in which I tried to reset the captcha
function resetCaptcha(id) {
grecaptcha.reset(buzzNoCaptchaWidgetIds[id]);
}
Okay, I'm probably doing something wrong.
https://github.com/DmitrySkibitsky/laravel-site-psychotherapy is source project
ok, i see 3 issue:
lang
, sitekey
, multiple
into display
methoddisplayJs
must be define before displayMultiple
multiple
or setOptions
in master layout because section will be render before
for issue 3, i will be add default options to config fileAnd finally: options pass to display
method does not apply global, if you want apply options for all captcha you can use setOptions
method before render view
Thanks.
default options/attributes in config has been release on version 2.1.10 or you can use setOptions
method before render view
fixed in 848bacbd4f24b7d4e802f7048dcedbed3cc830d5
@thinhbuzz , Thank you. Tomorrow I will understand.
you are wellcome
js output
I execute in the console
As a result, the first captcha in the list of objects is reset (id captcha_create_comment) Works as I understood on the same principle as before: the first counter is reset