Fix the behaviour the content editors are able to create a custom block of "ebt_slideshow" without fill any field

Created on 19 March 2023, over 2 years ago
Updated 20 March 2023, over 2 years ago

Problem/Motivation

Currently when creating a EBT slideshow the editors can fill the slide image, title and text and it'll works fine. But we realized that the content editors are able to create a custom block without fill any fields and it'll be saved without validation

Steps to reproduce

Create a custom block with type ebt slide show -> don't fill any fields -> Save. It'll be saved with success, even without any field populated

Proposed resolution

Since this is for slideshow, I think we can set the Slide Image as required on this case. So; update the paragraph type -> set the Slide Image as required -> Save -> Export the config of field object into config/install folder

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Fixed

Version

1.4

Component

Code

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