Drupal attribute properties break form generator

Created on 19 December 2023, 6 months ago
Updated 21 December 2023, 6 months ago

Problem/Motivation

In the SDC documentation, it is mentioned that SDC properties can include Drupal attributes β†’ . However, in practice this breaks the SDC Display with a white screen reading "FormGeneratorDrupal received invalid input data".

Steps to reproduce

Create a component with an attributes property:

  attributes:
    type: Drupal\Core\Template\Attribute

Then try to use it in manage display with SDC display.

Proposed resolution

  • Update the schema validation to allow Drupal Attribute objects.
  • Update the SDC display form so users can specify HTML attributes for an Attribute property.
πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jayhuskins

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

Comments & Activities

Production build 0.69.0 2024