This might be a feature request, as to my knowledge it's not something doable, but some communications have indicated it is, so maybe I just need to find a proper setting in UI.
I have a content type with an optional entity reference to a second content type. The second content type contains required fields. I would like to be able to use IEF in such a way that the creation of the referenced entity remains optional. If this is possible, I would like to know what settings are necessary. If it's not possible, I would like that verified, and have this noted as a feature request.
My current settings:
The entity reference field is not required. It references a single content type, allowing the creation of new entities. Multiple references are allowed.
The form display of the parent can be set to either Inline entity form - Simple or Inline entity form - Complex. Setting the form to collapsed and/or collapsed by default has no effect on the observed behavior.
The referenced entity includes several required fields, because if one is created, it must have those fields.
Observed behavior:
It is impossible to save a parent entity without a reference to a child.
Expected/Desired behavior:
To have some mechanism of saving a parent without any reference, since the reference is optional.
Needs work
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.