#44 worked for me, But without #46 I would not notice it, so thank you @lexsoft.
- First commit to issue fork.
- Merge request !118Issue #2877695: Skip saving empty paragraphs for certain types → (Open) created by codebymikey
If the paragraphs field is not required but it's widget has a default paragraph type selected this results in the required fields from of the paragraph to still be validated - and if empty the validation for the host entity fails.
If there are none required fields, the empty paragraph item is still saved. This could cause labels with empty items displayes
Another use case can be found in paragraphs collection where we have a paragraph type "separator" that does its job without having any field filled. So it needs to save although all fields are empty.
Add an option to skip save if all fields are empty on each paragraph type.
Required fields would still trigger validation.
Needs review
1.0
Code
Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
#44 worked for me, But without #46 I would not notice it, so thank you @lexsoft.