Fix the EBT Text body to be required by default

Created on 21 March 2023, over 1 year ago
Updated 22 March 2023, over 1 year ago

Problem/Motivation

The EBT Text allows the users to add Text with WYSIWYG editor, and it worked fine but there is a behaviour where the CMS users can add the block type without filling the fields

Steps to reproduce

Go to structure -> add custom block -> Select EBT Text -> Put the title and don't fill any other fields -> Save
Result: It'll be saved without any validation

Proposed resolution

On this case since is specific for text, we can set at this fields as required by default for the content editors. With that we can make sure that they're filling this field during the block creation

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Fixed

Version

1.4

Component

Code

Created by

🇧🇷Brazil renatog Campinas

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

Comments & Activities

Production build 0.71.5 2024