Required field may prevent the modal to close

Created on 21 October 2025, 13 days ago

Problem/Motivation

When using iframe modal to add blocks into the layout builder, required field error messages keep showing after filling the fields and prevents the iframe to close.
Last working version 1.3.4

Steps to reproduce

Create a new block in the layout buider
Do not fill required field and save
Fill required field and save
Error is still there, and the iframe is opened. Block in added in the background

Notice the change in the validation style, before it was a tooltip on the field, now it is a Drupal error message.

Before

After

Proposed resolution

Issue not found

Remaining tasks

Find what is causing the issue.
Propose a solution.

User interface changes

N/A

API changes

N/A

Data model changes

N/A

🐛 Bug report
Status

Active

Version

1.3

Component

Code

Created by

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.

No activities found.

Production build 0.71.5 2024