Create a custom field A, create a custom field B (only in subforms), add field B as a field in field A. Change field B: Deactivate the option "only in subforms".
Field B becomes a normal field, field B is no longer present as a subform in field A.
Field B exists as a normal field, but in field A it is still listed as a subform field.
Joomla 4.3.2, PHP 8.1
Labels |
Added:
No Code Attached Yet
|
Labels |
Added:
bug
|
@richard67 is correct. You have misunderstood what it means "only in subform".
FieldX - can be displayed in a subform and/or as a normal field
FieldX (only in subform) - can be displayed only in a subform
Can be closed - the code is working as intended and as described
Status | New | ⇒ | Expected Behaviour |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-06-23 21:01:53 |
Closed_By | ⇒ | richard67 |
Closing as expected behavior.
Thanks for reporting this issue. However, it’s not clear to me why you expect the field to disappear from the subform when the option “only in subform” is disabled. As the name of that option says, the option means that the field can only be in a subform but not outside a subform as a stand-alone field when it is on. But that does not mean that the field can not be is a subform when that option is off. It only means that the field can be in a subform as well as a stand-alone field when the option is off, and it can be in a subform but not be a stand-alone field when the option is on.