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.
The drop-down options to be visible.
Joomla 5.1.2
Labels |
Added:
No Code Attached Yet
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-07-10 14:34:45 |
Closed_By | ⇒ | Fedik |
Duplicate #38346?