User tests: Successful: Unsuccessful:
The same as #31399 but for J4
Add subform field in to any xml in params section, example mod_custom.xml
<field name="subform_test2" type="subform" label="Subform field"
multiple="true"
default='[{"child_field": "Default text field value"}]'
>
<form>
<field
name="child_field"
type="text"
label="Text field"
/>
</form>
</field>
Open the form, remove all subform rows, and save.
Subform field is empty, with zero rows
Subform field should show 1 row of default value
none
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-11-30 14:35:32 |
Closed_By | ⇒ | laoneo | |
Labels |
Added:
?
?
|
Thanks!
I have tested this item✅ successfully on 09da9c8
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31400.