Collapsed nested paragraphs are not validated before save

Created on 17 March 2022, about 3 years ago
Updated 5 May 2023, almost 2 years ago

Hi, I've got a problem with nested paragraphs (collapsed) not being validated before saving the parent node.

Steps to reproduce

  1. Create a custom paragraph (let's call it Advert) with Title field.
  2. Make Title field required.
  3. Create a custom paragraph (let's call it Adverts) with relation to Advert paragraph via Entity reference revisions field (let's call it Items).
  4. Add Adverts list field to Page node (or some custom bundle, it doesn't matter).
  5. Adverts list field has to be Entity reference revisions field with relation to Adverts paragraph.
  6. Select Paragraphs (stable) widget for Adverts list field.
  7. Go to /node/add/page and add some Advert paragraphs, but leave the Title fields empty.
  8. Click Collapse all button and save the page.

At this moment, page will be saved without validating required Title fields. Without collapsing all paragraphs or collapsing only a single paragraph - validation works as expected.

Does anyone else have this problem?

πŸ› Bug report
Status

Active

Version

1.15

Component

Code

Created by

πŸ‡΅πŸ‡±Poland tivi22

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024