- Issue created by @muriqui
- Merge request !192#3532157 Fixes a bug where the Paragraphs widget would render an empty row... → (Open) created by hhvardan
- 🇦🇲Armenia hhvardan
I've created a MR that fixes this behavior.
Instead of using `#max_delta` directly, the patch scans for the last visible paragraph delta and uses that for AJAX effects. This avoids injecting markup around an item that won't render. - 🇮🇳India roshanibhangale
Hi
I have tested this ticket on Drupal 10
Steps Followed
- Create a paragraph type.
- Create a content type with a Paragraphs field that allows that paragraph type, unlimited cardinality.
- Set the Form Display for that field to the Paragraphs (Stable) widget, and allow Collapse / Edit all in the widget settings.
- Create a node of the test content type, add three paragraphs to the field, and save the node.
- Edit the node, click Remove on the third paragraph, then click Collapse All on the field.
After applying MR192 Patch successfully, Observed that the field shows the two remaining paragraphs in collapsed mode.
The blank row is not showing now on editing the node.Hence moving this ticket to RTBC +1
Adding recording for reference.