User tests: Successful: Unsuccessful:
Pull Request for Issue #40160
Fix radio and checkboxes in nested subform field
Run npm install
.
Add following XML for subform field, somewhere, example in Custom HTML module.
And check that Radio buttons and Checkboxes works.
<field type="subform" name="subform" label="subform" multiple="true">
<form>
<field type="text" name="text" label="Text" />
<field name="radioTop" type="radio" label="Radio top">
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>
<field name="check" type="checkboxes" label="Checkboxes">
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>
<field name="checkOne" type="checkbox" label="Checkbox"/>
<field type="subform" name="nested_subform" label="nested subform" multiple="true">
<form>
<field type="text" name="nested_text" label="Nested Text" />
<field name="radioNested" type="radio" label="Nested Radio">
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>
<field name="checkNested" type="checkboxes" label="Nested checkboxes">
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>
<field name="checkOneNested" type="checkbox" label="Nested Checkbox"/>
</form>
</field>
</form>
</field>
Radio buttons and checkboxes in nested subform does not get checked when click on its label.
All radio buttons and checkboxes works.
Please select:
Status | New | ⇒ | Pending |
Category | ⇒ | JavaScript Repository NPM Change |
Labels |
Added:
NPM Resource Changed
bug
PR-5.1-dev
|
I have tested this item ✅ successfully on 0d69a50
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-07-03 12:57:10 |
Closed_By | ⇒ | bembelimen |
Thx
I have tested this item ✅ successfully on ff2e65c
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43660.