Global settings form missing element validator for color fields

Created on 18 February 2023, almost 2 years ago
Updated 19 February 2023, almost 2 years ago

Problem/Motivation

CUrrently on global settings form we have some options to be configured using colors, but these fields doesn't have validations yet, so the users can insert any data there that isn't a valid color and it'll saved. In other places we're using elementValidator from Form API that can helps on this kind of cases

Proposed resolution

In the class EbtCoreSettingsForm that extends ConfigFormBase we can Implement the element validator inside of Form API render array to validate these fields

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
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