SDC prop "description" is not used as the form element description?

Created on 7 December 2024, 17 days ago

Overview

It does not appear that the description of a prop is used in the corresponding form element.

Given

$schema: 'https://git.drupalcode.org/project/drupal/-/raw/HEAD/core/assets/schemas/v1/metadata.schema.json'
name: My SDC
status: stable
group: Molecule/My SDC
props:
  type: object
  properties:
    some_prop:
      type: string
      title: Some Prop
      description: Should I show up as the textfield description?

I rather expected Should I show up as the textfield description? to appear as an equivalent-ish thing to the FAPI #description on the corresponding form element.

Proposed resolution

Either make the form element display the #description or educate me on the intended use of description πŸ˜….

User interface changes

Possibly many, depending on the outcome!

πŸ’¬ Support request
Status

Active

Version

0.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States luke.leber Pennsylvania

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

Comments & Activities

Production build 0.71.5 2024