Help text not displaying on text area field

Created on 26 September 2023, 9 months ago
Updated 27 May 2024, about 1 month ago

Problem/Motivation

Help text does not appear for text area (formatted text) fields.

Steps to reproduce

  • Create a Text (formatted, long, with summary) field and include help text.
  • Create a field group using the field_group module. Not sure this is relevant but including just in case.
  • Under Manage form display, place the field inside the field group.
  • Edit an entity of the type/bundle you configured the field for. There will be no help text above the field.

Proposed resolution

I'll attach a patch or merge request to add an additional elseif statement which checks for base_type == textarea and attaches the help text to $form[$key]['widget'][0]['#label_suffix']. Currently the logic attaches the help text to $form[$key]['widget'][0]['value']['#field_prefix'] which causes the help text not to render.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Postponed: needs info

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States maskedjellybean Portland, OR

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024