Skip to content

Commit

Permalink
Merge pull request #241 from luigimarmo/luigimarmo-patch-1
Browse files Browse the repository at this point in the history
Added errorCallback for recaptcha
  • Loading branch information
excelwebzone committed May 28, 2020
2 parents ac970db + e7ebd46 commit 21fea6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Resources/views/Form/ewz_recaptcha_widget.html.twig
Expand Up @@ -37,6 +37,7 @@
></script>
<div class="g-recaptcha" data-theme="{{ attr.options.theme }}" data-size="{{ attr.options.size }}" data-type="{{ attr.options.type }}" data-sitekey="{{ form.vars.public_key }}"
{%- if attr.options.callback is defined %} data-callback="{{ attr.options.callback }}"{% endif -%}
{%- if attr.options.errorCallback is defined %} data-error-callback="{{ attr.options.errorCallback }}"{% endif -%}
{%- if attr.options.expiredCallback is defined %} data-expired-callback="{{ attr.options.expiredCallback }}"{% endif -%}
{%- if attr.options.bind is defined %} data-bind="{{ attr.options.bind }}"{% endif -%}
{%- if attr.options.badge is defined %} data-badge="{{ attr.options.badge }}"{% endif -%}
Expand Down

0 comments on commit 21fea6d

Please sign in to comment.