Add test coverage for enabling/disabling base fields on MessageForm

Created on 27 August 2015, over 9 years ago
Updated 17 May 2025, 2 days ago

Problem/Motivation

ContactForm adds a number of fields which are nicely exposed as extra fields. The problem is that a form must explicitly check if a component is enabled before adding it.

Proposed resolution

Wrap name, email and the other defined extra fields in
if ($component = $this->getFormDisplay()->getComponent('name')) {

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Needs work

Version

11.0 🔥

Component

contact.module

Created by

🇨🇭Switzerland berdir Switzerland

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