Empty language (langcode) field wrapper inserted into contact form

Created on 10 January 2017, about 8 years ago
Updated 2 November 2022, over 2 years ago

When creating a new contact form I found the wrapper <div> for what appears to be a language select list is inserted:

<div class="field--type-language field--name-langcode field--widget-language-select form-group js-form-wrapper form-wrapper" data-drupal-selector="edit-langcode-wrapper" id="edit-langcode-wrapper"></div>

I'm not sure if this field is being added by the contact module or the language module.

I've not added a language field to the contact form. It appears to be automatically added into a semi-random spot in the contact form markup. While the <div> is fairly harmless, styling for form-group or form-wrapper class elements are applied to the empty wrapper which can disrupt the form layout.

πŸ› Bug report
Status

Needs work

Version

9.5

Component
ContactΒ  β†’

Last updated 17 days ago

Created by

πŸ‡ΊπŸ‡ΈUnited States Christian DeLoach

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

Merge Requests

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