-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
[4.0] Category custom fields marked as 'subform' act as if they are not #35543
Copy link
Copy link
Closed
Labels
Description
Steps to reproduce the issue
- Create a category custom field (text, editor, or media) marked as required and as subform only.
- If text or editor is your field type of choice, set the field to filter Safe HTML, alphanumeric, or telephone.
- Go to any content category.
- The field does not render (as expected).
- Try to save the category.
Expected result
The category saves as normal, since the field is subform only and not included in a subform assigned to this category.
Actual result
The category errors on save, asking for the required field.

System information (as much as possible)
| Info | Detail |
|---|---|
| Joomla! Version | Joomla! 4.0.2 Stable [ Furaha ] 24-August-2021 19:54 GMT |
| PHP Version | 7.4.12 |
Additional comments
Additionally, jcfields loads the field in the front end even if there is no content and it is not assigned to a subform.

Reactions are currently unavailable