When adding nested subforms in Joomla 4.0.0-alpha3 and adding multiple rows of the most-inner subform, the add/remove buttons of the more outer subforms are not clickable anymore.
plugins/fields/checkboxes/params/checkboxes.xml
and add the following after line 26:<field
name="subformlevel2"
type="subform"
label="PLG_FIELDS_CHECKBOXES_PARAMS_OPTIONS_LABEL"
layout="joomla.form.field.subform.repeatable-table"
icon="list"
multiple="true"
>
<form hidden="true" name="list_templates_modal" repeat="true">
<field
name="name_lvl2"
type="text"
label="PLG_FIELDS_CHECKBOXES_PARAMS_OPTIONS_NAME_LABEL"
size="30"
/>
<field
name="subformlevel3"
type="subform"
label="PLG_FIELDS_CHECKBOXES_PARAMS_OPTIONS_LABEL"
layout="joomla.form.field.subform.repeatable-table"
icon="list"
multiple="true"
>
<form hidden="true" name="list_templates_modal" repeat="true">
<field
name="name_lvl3"
type="text"
label="PLG_FIELDS_CHECKBOXES_PARAMS_OPTIONS_NAME_LABEL"
size="30"
/>
</form>
</field>
</form>
</field>
Type
to Checkboxes
Checkbox values
, and a new row of the then appearing inner subform, and a new row of the then appearing inner subform, so you have 3 rows of the 3 nested subforms - like in this screenshot:The outermost add/remove buttons should work, they should add a new row of their respective subform.
The buttons do nothing, there isn't even an onlick event assigned to them.
Tested on Joomla 4.0.0-alpha3 using Firefox 62.0 on Linux.
I noticed this problem when testing this functionality in Joomla 4 regarding PR #17552 (re @Fedik )
Labels |
Added:
?
|
Status | New | ⇒ | Discussion |
Category | ⇒ | Plugins |
Well, with the latest Nightly Build, the system seems completely broken tbh.
When clicking Content -> Fields -> New, only the name of the field can be set, not the Type etc:
After saving it, I get access to the other options, so I testwise added the 3 nested subforms for the Textfield type:
But now nothing happens at all when clicking on the "Add" button, so the whole Subform system is broken in the latest nightly build.
I just checked and can confirm, the subform
field is broken
I will check more, when will have some time
something with build scrip
Labels |
Added:
?
|
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-09-14 16:26:22 |
Closed_By | ⇒ | franz-wohlkoenig |
Closed_By | franz-wohlkoenig | ⇒ | joomla-cms-bot |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/22183
@franz-wohlkoenig Can we please reopen this issue?
The problem with the nightly build (subforms not working at all) is fixed with #22185 but the main problem from the opening post is still present.
I just tested the main problem (described in the opening post) on 4.0-dev at version e051bb2 with the patch applied from #22185 but still the add / remove buttons are not clickable:
Status | Closed | ⇒ | New |
Closed_Date | 2018-09-14 16:26:22 | ⇒ | |
Closed_By | joomla-cms-bot | ⇒ |
Closed_Date | 0000-00-00 00:00:00 | ⇒ |
Set to "open" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/22183
Status | New | ⇒ | Discussion |
Reopened as stated above.
Labels |
Added:
J4 Issue
|
well, you are right @Fedik ... I removed that element from the page for taking the above screenshot, but did then not check whether that element was causing the error xD sorry...
Should be then close this issue, or should we keep it open to fix the problem with the overlaying element?
I guess can close it, because the issue was caused not by real use case but by the testing instruction.
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-09-16 17:13:14 |
Closed_By | ⇒ | franz-wohlkoenig |
Closed_By | franz-wohlkoenig | ⇒ | joomla-cms-bot |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/22183
Closed as stated above.
Labels |
Removed:
J4 Issue
|
can you please test on Nightly Build?