Adds a form validation for EBT tabs for Tab content

Created on 4 April 2023, over 2 years ago
Updated 5 April 2023, over 2 years ago

Problem/Motivation

Currently on Tab content we can select few options, like text, block, views, etc. However, if you select the field "text" will appear a new field "Tab text", and this field is being optional for the end-user. If you select "Page" will appear a new field to select a page, but you can save without select a page as well. We can validate that programmatically

Steps to reproduce

Proposed resolution

  1. Implement a form alter
  2. If is different than ebt_tabs, skip
  3. Implement a form validate
  4. Validate the option according to the selection

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Fixed

Version

1.4

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024