No Code Attached Yet
avatar sakiss
sakiss
10 Jul 2024

Steps to reproduce the issue

Create a subform field and use a fancy-select inside it.

The code is used is:

 <field
                    name="sorting_rules"
                    type="subform"
                    label="Sorting rules"
                    layout="joomla.form.field.subform.repeatable-table"
                    icon="list"
                    multiple="true"
            >
                <form hidden="true" name="list_sorting_rules" repeat="true">
                    <field
                            name="name"
                            type="list"
                            label="Select"
                            multiple="false"
                            layout="joomla.form.field.list-fancy-select"
                            required="true"
                    >
                            <option value="a">A</option>
                            <option value="b">B</option>
                            <option value="c">C</option>
                            <option value="d">D</option>
                            <option value="e">E</option>
                    </field>
                </form>
            </field>

You can inject that in any component's config.xml or a menu item's xml to check it.

Expected result

The drop-down options to be visible.

Actual result

Not visible
fancy-select-subform

System information (as much as possible)

Joomla 5.1.2

avatar sakiss sakiss - open - 10 Jul 2024
avatar joomla-cms-bot joomla-cms-bot - change - 10 Jul 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 10 Jul 2024
avatar Quy
Quy - comment - 10 Jul 2024

Duplicate #38346?

avatar Fedik Fedik - close - 10 Jul 2024
avatar Fedik
Fedik - comment - 10 Jul 2024

yes, it is duplicate.
and there is no way to fix it with table layout,
you can test new grid layout #42347

thanks

avatar Fedik Fedik - change - 10 Jul 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-07-10 14:34:45
Closed_By Fedik
avatar sakiss
sakiss - comment - 10 Jul 2024

For anyone facing the same, it happens only with the repeatable-table layout.
You can change the subform field layout to joomla.form.field.subform.repeatable and it will work. Though with a bit different look and feel.
Also you can try #42347 as mentioned above.

Add a Comment

Login with GitHub to post a comment