Radios form element not displaying

Created on 4 September 2022, about 2 years ago
Updated 13 February 2023, almost 2 years ago

API page: https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Render%21...

I am using the example from the docs and it throws the following warnings:

Warning: Undefined array key "#title_display" in /app/docroot/core/lib/Drupal/Core/Render/Element/CompositeFormElementTrait.php on line 20

Warning: Undefined array key "#id" in /app/docroot/core/lib/Drupal/Core/Render/Element/CompositeFormElementTrait.php on line 30

Also, even if I add the missing attributes, on the front end the radios options still don't show. Is there something wrong with them in general or I am missing something?

Tested with Drupal core 9.3.* and Stable9 theme

πŸ’¬ Support request
Status

Fixed

Version

9.3

Component
DocumentationΒ  β†’

Last updated 1 day ago

No maintainer
Created by

πŸ‡§πŸ‡¬Bulgaria yivanov

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024