CKEditor Required Formatted Text field throws error when cleared

Created on 12 May 2025, 1 day ago

Overview

When a Formatted Text Field marked as required in a code component is cleared after being added to the canvas, it results in an error:

"An unexpected error has occurred while rendering the component's form."

This issue disrupts the component's rendering and prevents further editing of the field, causing unexpected behavior in the form.

Steps to Reproduce:

  1. Edit an Article
  2. Add a code component to the library with a required props Formatted Text Field.
  3. Drag and drop the added code component to the canvas
  4. In the component form, remove all text from the Required Formatted Text Field.
  5. Observe the error message: "An unexpected error has occurred while rendering the component's form."
{
    "message": "Required prop \"required\" is missing from the client model."
}

Proposed resolution

User interface changes

🐛 Bug report
Status

Active

Version

0.0

Component

Page builder

Created by

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

Comments & Activities

Production build 0.71.5 2024