Close button is option and cause error when in blank

Created on 25 June 2024, 10 days ago
Updated 26 June 2024, 9 days ago

Problem/Motivation

Today the field for label in the Open button is optional. The default is "Open" so editors are able to remove everything and save. But if it happens the Micromodal isn't possible to open because won't have a button in the front-end to trigger the event to open

Steps to reproduce

Go to a Micromodal EBT -> Go to settings and remove all the Open label button -> Save. Open the front-end
Result: Isn't possible to open the Modal
Expected: Since it's a form, we can validate this scenario in the form

Proposed resolution

Update the form API and make this label as required. The CMS editor can modify but is necessary to have a value there. It'll solve this issue in the future

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024