Custom class without form / element validation

Created on 17 February 2023, almost 2 years ago

Problem/Motivation

Currently we have a custom class at EBT BS Button and on this field we don't have validation, so the user can insert invalid classes or insert multiple spaces on that field and it'll be saved
Thinking on that would be ideal create a Helper class generic since the custom class is used in one more EBT_* projects so we the best place to create is one EBT Core. It was created at Create a generic Helper at ebt_core side to validate common fields from other ebt_* projects E.g. customClassValidator Fixed so now we can use this validator in the elementValidator to start using this

Proposed resolution

Use the elementValidator in the Form API render array to use the element validator from EBT Core. With that the custom class will be validated

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