CodeMirror type element - Undefined array key

Created on 5 July 2024, 5 months ago
Updated 29 July 2024, 4 months ago

Problem/Motivation

Webform CodeMirror Type Element returns the following error on submit:
"Undefined array key "#default_value" in Drupal\webform\Element\WebformCodeMirror::validateWebformCodeMirror()"

Steps to reproduce

Add CodeMirror type element to a webform, fill the CodeMirror element and submit the form.

Proposed resolution

Correct error located at (line 145 of /modules/contrib/webform/src/Element/WebformCodeMirror.php)

๐Ÿ› Bug report
Status

Fixed

Version

6.2

Component

Code

Created by

๐Ÿ‡ฆ๐Ÿ‡บAustralia sophron

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024