Error adding Paragraph block with no selection

Created on 3 June 2025, 4 days ago

Problem/Motivation

When trying to add a block that references Paragraph entities, an AJAX error occurs if no Paragraph item is selected before attempting to add the block. This prevents the CSS from loading correctly, which completely breaks the layout.

Steps to reproduce

  1. Open the VLSuite layout editor.
  2. Attempt to add a block that references a Paragraphs field.
  3. Do not select any Paragraph item.
  4. Click "Add block" or proceed.

Proposed resolution

Prevent the AJAX call from being triggered when no Paragraph item is selected, possibly with validation before submission. Alternatively, display a warning or disable the block addition button until a valid selection is made.

User interface changes

🐛 Bug report
Status

Active

Version

3.0

Component

Layout builder

Created by

🇪🇸Spain antonio.nunez Spain

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

Comments & Activities

Production build 0.71.5 2024