text_format elements are not supported

Created on 14 September 2021, about 3 years ago
Updated 5 December 2023, 12 months ago

Problem/Motivation

When using text_format as child element it doesn't work correctly.

Steps to reproduce

Code example:

    $form['text'] = [
      '#type' => 'multivalue',
      '#title' => $this->t('Textbox'),
      '#required' => TRUE,
      'text' => [
        '#type' => 'text_format',
        '#title' => $this->t('Text'),
      ],
      '#default_value' => [
        0 => ['text' => ['value' => 'Text', 'format' => 'full_html']],
        1 => ['text' => ['value' => 'Another Text value', 'format' => 'full_html']],
      ],
    ];
✨ Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine mostepaniukvm

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