No Code Attached Yet
avatar brianteeman
brianteeman
12 Oct 2021

Steps to reproduce the issue

Configure and enable the invisible recaptcha plugin

Expected result

Contact form is displayed with the invisible recaptcha and the label is not displayed

Actual result

Label is displayed
image

System information (as much as possible)

cassiopeia
current main branch

Additional comments

avatar brianteeman brianteeman - open - 12 Oct 2021
avatar joomla-cms-bot joomla-cms-bot - change - 12 Oct 2021
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 12 Oct 2021
avatar C-Lodder
C-Lodder - comment - 15 Oct 2021

libraries/src/Form/Field/CaptchaField.php

Adding protected $hiddenLabel = true; to the field doesn't work, for some odd reason.
Only way I managed to hide it, was by adding an empty protected function getLabel() {}, but not sure this is the correct approach.

avatar joomdonation
joomdonation - comment - 15 Oct 2021
avatar joomdonation joomdonation - close - 15 Oct 2021
avatar joomdonation
joomdonation - comment - 15 Oct 2021

I made PR #35834 to fix this issue. Please check and give feedback. Closing this issue for now and will re-open later if needed.

avatar joomdonation joomdonation - change - 15 Oct 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-10-15 15:04:46
Closed_By joomdonation

Add a Comment

Login with GitHub to post a comment