No Code Attached Yet
avatar Gratia-Mira
Gratia-Mira
24 Jun 2022

Steps to reproduce the issue

Go to the backend and to a module of which you know that settings are described in the xml file by using "description". For example like this:
<field name="team-mitarbeiter" label="CSS team-mitarbeiter-Klasse" size="10" type="text" default="" filter="raw" description="Fügen Sie weitere CSS-Definitionen hinzu. Die team-mitarbeiter-Klasse umfasst alle Mitarbeiter der Abteilung." />

Expected result

The purpose of this description is that it is displayed to the user. On the picture in the grey text
image

Actual result

The description is not displayed, as it seems in all modules.

System information (as much as possible)

Joomla 4.1.5 (Linux and Windows Server)

Additional comments

Is there a solution to this?

avatar Gratia-Mira Gratia-Mira - open - 24 Jun 2022
avatar joomla-cms-bot joomla-cms-bot - change - 24 Jun 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 24 Jun 2022
avatar Fedik
Fedik - comment - 24 Jun 2022

By default it hidden with d-none (no idea why)

$descClass = ($options['descClass'] ?? '') ?: (!empty($options['inlineHelp']) ? 'hide-aware-inline-help d-none' : '');

in theory you can add attribute inlineHelp="true" to enable it back (from #37819)
But in quick test it does not work for me.

Probably some bugs.

UPD: found, it hidden because this #35610

avatar Fedik
Fedik - comment - 24 Jun 2022

Maybe @brianteeman have a better hint for you.

avatar Gratia-Mira
Gratia-Mira - comment - 24 Jun 2022

@Fedik All right, I have now seen how to show the help. Thanks for the link!

But this does not yet work for "repeatable" xml fields. These are always displayed. That's why I thought something was wrong here.

@brianteeman Should I close the ticket or do you still want to keep pursuing this?

avatar Fedik
Fedik - comment - 24 Jun 2022

if it works for you, you can close ?

avatar chmst
chmst - comment - 24 Jun 2022

Simplest solution is the hint Attribute, add information like a placeholder.

avatar Gratia-Mira Gratia-Mira - close - 24 Jun 2022
avatar Gratia-Mira
Gratia-Mira - comment - 24 Jun 2022

Good, thank you all!

avatar Gratia-Mira Gratia-Mira - change - 24 Jun 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-06-24 15:29:31
Closed_By Gratia-Mira

Add a Comment

Login with GitHub to post a comment