?
avatar webchun
webchun
10 Aug 2016

Steps to reproduce the issue

screen shot 2016-08-10 at 11 33 06

  • I'm using subform for my module parameters
  • I have this code on my xml :
<field name="items" type="subform" formsource="modules/mod_modulex/fields/item.xml" min="1" max="4" multiple="true" layout="joomla.form.field.subform.repeatable-table" groupByFieldset="true" label="Subform Field" description="Subform Field Description" />
  • This is the content of the item.xml
<?xml version="1.0" encoding="UTF-8"?>
<form>
<fieldset name="items_fieldset" label="Fields">
    <field
        name="type"
        type="list"
        default="0"
        label="Type"
        description="Enter Type"
    >
        <option value="0">Small</option>
        <option value="1">Medium</option>
        <option value="2">Large</option>
    </field>

        <field name="for_large"
            type="text"
            label="Additional entry for large" showon="type:2" />
</fieldset>
</form>

Expected result

The field for_large is hidden until I choose 'Large' in the field type

Actual result

The field for_large is hidden for the first item only. When I add the second item and so on, the field is always showing up. See this gif cast attached below

System information (as much as possible)

Joomla 3.6.2

Additional comments

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
4.00

avatar webchun webchun - open - 10 Aug 2016
avatar webchun webchun - change - 10 Aug 2016
The description was changed
avatar webchun
webchun - comment - 19 Oct 2016

Is there any update on this issue? This issue also affects showon. Showon won't work for subform child too
cc : @Fedik


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/11548.

avatar Fedik
Fedik - comment - 19 Oct 2016

nope, no update

avatar webchun
webchun - comment - 19 Oct 2016

it's too bad :(
Is it really hard to fix it?

avatar Fedik
Fedik - comment - 19 Oct 2016

well, yes, need some tricky changes in existing showon code,
I do not promise, but if I will have a more time I try check it

avatar webchun
webchun - comment - 19 Oct 2016

? I wish you will find a lot of time to work on joomla *pray to god ;)

avatar Fedik
Fedik - comment - 22 Oct 2016

please test it #12511

avatar Fedik
Fedik - comment - 8 Dec 2016

this can be closed

avatar brianteeman
brianteeman - comment - 8 Dec 2016

Closed as we have a pr

avatar brianteeman brianteeman - change - 8 Dec 2016
The description was changed
Status New Closed
Closed_Date 0000-00-00 00:00:00 2016-12-08 18:55:37
Closed_By brianteeman
avatar brianteeman brianteeman - close - 8 Dec 2016

Add a Comment

Login with GitHub to post a comment