[Block editor fields]: Required property not validated
Problem Statement
The required property on block editor fields is not being validated, allowing users to create content without providing any value in these fields. This issue undermines data integrity and can lead to incomplete or invalid content being saved in the system. It affects content creators who rely on the required property to enforce proper input and validation during content creation.
https://github.com/user-attachments/assets/2c8515e3-1725-4e4f-9e5f-0d3e5d0eef10
Steps to Reproduce
- Log into the dotCMS backend.
- Navigate to a content type that includes a block editor field marked as required.
- Create a new piece of content based on the content type.
- Leave the block editor field empty and attempt to save the content.
- Observe that the content is saved without any validation error for the required field.
Acceptance Criteria
- Block editor fields marked as required must validate input and prevent content from being saved if the field is empty.
- Users should receive a clear error message indicating that the block editor field is required and must be filled before saving.
dotCMS Version
Tested on the lastest main version // Docker // FF
Proposed Objective
Quality Assurance
Proposed Priority
Priority 3 - Average
Note to dev: Please let me know as soon we fixed this issue, I need to enable the e2e test again
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.
https://dotcms.freshdesk.com/a/tickets/34305
QA PASSED ✅ Validators are appering in the old and new edit content