- Issue created by @chandravilas
1] Create a paragraph X, add text or textarea field, make sure text field are mandatory.
2] Create a paragraph Y, add text field and add reference entity paragraph field and attach paragraph X, apply widget in form display "Paragraphs Legacy Asymmetric", make sure text field are mandatory.
3] Create a paragraph Z, add text field and add reference entity paragraph field and attach paragraph Y, apply widget in form display "Paragraphs Legacy Asymmetric", make sure text field are mandatory.
4] Add paragraph reference field in any content type (node) and select Paragraph Z in manage field settings.
5] Go to Edit or Add content form, Select or Add paragraph Z, Once paragraph Z open, Enter values in all field and add paragraph Y, enter values in non mandatory and keep the mandatory field empty and add paragraph X, again keep the mandatory fields empty.
6] Do not click on close/collapse button provide by widget for Paragraph Y and X, Click on close/collapse button on paragraph Z, once paragraph Z close save the node form.
7] Actual => You can see the node is getting save successfully, if there is no values in paragraph (x and y) mandatory fields.
Expected => If there is no value in paragraph mandatory field, then node should not be saved.
Active
1.2
Code