EBR Carousel without required fields allow editors create a Carousel without any value

Created on 11 March 2023, almost 2 years ago
Updated 18 March 2023, almost 2 years ago

Problem/Motivation

THe EBT carousel is using a block type and inside of this block type is using a paragraph type called ebt_carousel with works fine. But the user is able to create without fill any field. It's because all the fields on this paragraph type is optional (non-required) so it's a possibility for the editors

Steps to reproduce

Go to block type, -> Add -> Carousel
Fill al in blank
Save
Result: It'll be saved
Expected: It should validate that at least one field was populated in the carousel directory

Proposed resolution

I'd suggest to update the paragraph type and set the image as required. If the editors don't want to fill the caption, that's ok. But at least the image needs to be populated
We can update the paragraph type and export the configs into config/install

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