We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc8d2a0 commit f6cee7bCopy full SHA for f6cee7b
resources/views/googlerecaptchav3/template.blade.php
@@ -20,11 +20,17 @@
20
21
@if($hasAction)
22
<script>
23
+ @foreach($mappers as $action=>$fields)
24
+ @foreach($fields as $field)
25
+ var client{{$field}};
26
+ @endforeach
27
28
+
29
function onloadCallback() {
30
@foreach($mappers as $action=>$fields)
31
@foreach($fields as $field)
32
if (document.getElementById('{{$field}}')) {
- let client{{$field}} = grecaptcha.render('{{$field}}', {
33
+ client{{$field}} = grecaptcha.render('{{$field}}', {
34
'sitekey': '{{$publicKey}}',
35
@if($inline===true) 'badge': 'inline', @endif
36
'size': 'invisible',
0 commit comments