I'm using a system plugin that adds form fields to the attribs field of articles.
It's loading an xml file with a nested fields group (subgroup of attribs). <fields name="newslinks4irc">
<?xml version="1.0" encoding="utf-8"?>
<form>
<fields name="attribs">
<fieldset name="newslinks4irc">
<fields name="newslinks4irc">
---Several fields here---
</fields>
</fieldset><!--/newslinks4irc-->
</fields>
</form>
The fields are using showon
. E.g. showon="linktype:url"
...
<field name="linktype" type="list" default="url"
label="Link type">
<option value="menuitem">menuitem</option>
<option value="article">article</option>
<option value="url">url</option>
<option value="JNONE">JNONE</option>
</field>
<field name="url" type="url" validate="url"
description=""
label="Enter url"
showon="linktype:url" />
...
This worked fine with Joomla version 3.7.5
Since Joomla 3.8.0 showon
doesn't function anymore and all fields keep hidden.
Test it with Joomla 3.7.5. Then update Joomla to 3.8.0 and test again.
Labels |
Added:
?
|
Title |
|
The multilevel bug was fixed in https://github.com/joomla/joomla-cms/pull/14007/files
foreach ($groups as $group)
{
$formPath .= '[' . $group . ']';
}
See conversation here #14007
@laoneo @tassosm
I think this should be fixed in 3.8.1 ?
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-10-04 11:17:34 |
Closed_By | ⇒ | ReLater |
Closing because we have a PR now.
I've compared the HTML output concerning showon parts:
Joomla 3.7.5
Joomla 3.8.0
See
[attribs][newslinks4irc]
versus[attribs.newslinks4irc]
.