The title and body in the basic_text component need to be required?

Created on 14 February 2025, 12 days ago

Problem/Motivation

Adding a Basic text component is acceptable since it does not impact the layout—it simply provides content without modifying the page structure.

However, when using the Basic text repeater as an accordion item, it introduces an issue: an empty accordion item is created by default. This results in a glitchy user experience, as it adds a blank section to the page, which is not the intended behavior.

Steps to reproduce

I am adding a screen recorder here.

Proposed resolution

Add required: true for

field.field.block_content.provus_basic_text.field_provus_title.yml
field.field.block_content.provus_basic_text.field_provus_body.yml

configs.

Feature request
Status

Active

Version

2.2

Component

Code

Created by

🇮🇳India mukhtarm

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024