When fieldsets are children of a fieldset, descriptions are not rendered, if they exist.
This is the case, for instance, when configuring module instances.
To better inform the users. Having a possible description explaining the use of the fields within the fieldset can improve understanding.
It will also be consistent with com_config which allows for descriptions for all fieldsets.
In the joomla.edit.params layout, add a bloc for the fieldset description if it has a parent and is not a grand child.
None.
Labels |
Added:
?
|
I know the possible code ;)
I meant how to test it? Please suggest a modification in a module to have such fieldsets.
Thanks
Code would be modified here for the layout
https://github.com/joomla/joomla-cms/blob/4.0-dev/layouts/joomla/edit/params.php#L117-L122
To test in the core:
<fieldset name="filtering" label="MOD_ARTICLES_CATEGORY_FIELD_GROUP_FILTERING_LABEL" description="Top most description">
<fieldset name="filtering_child1" label="Child 1" description="Child description 1">
[some fields]
</fieldset>
<fieldset name="filtering_child2" label="Child 2" description="Child description 2">
[the remaining fields]
</fieldset>
</fieldset>
Without the updated code, the descriptions won't show. With the updated code, they will.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-08-22 07:47:22 |
Closed_By | ⇒ | infograf768 |
Code suggested: