field Overlay color accepts invalid colors

Created on 21 June 2024, 6 months ago

Problem/Motivation

Currently there is a field Overlay color that expects a color input, however the editos can insert any data, even invalid colors, and it isn't being validated

Steps to reproduce

  • Add a paragraph item, for example EPT Webform
  • On accordion "Paragraph settings" go to "Design options"
  • Go to "Overlay color"
  • Add an invalid color, for example "Lorem Ipsum"
  • Save
  • Actual: Form is being saved without validation
  • Expected: Should be validated since the field is specific for colors

Proposed resolution

Add the element validator for color field

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
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.71.5 2024