Problem/Motivation

#3568633: Wrap Name field widget in a fieldset changed the markup for the name widget to a fieldset with no option to revert to the previous markup. While a reasonable change, it was a (moderately) disruptive change for existing forms, particularly for front-end forms (Contact module), adding an unexpected maintenance task for style sensitive sites.

This is a feature request to add a widget configuration option to choose the wrapper markup. Other notable modules, including Address have a similar option.

Steps to reproduce

Upgrade to version 8.x-1.2 on site with an existing Contact form (or any form using the Name field widget).

Proposed resolution

Add an option to select a different container for name fields.

Remaining tasks

Introduce a new widget wrapper configuration option.

Issue fork name-3588296

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

scottsawyer created an issue. See original summary.

bluegeek9’s picture

Assigned: Unassigned » bluegeek9

bluegeek9’s picture

Assigned: bluegeek9 » Unassigned
Status: Active » Needs review

bluegeek9 changed the visibility of the branch 8.x-1.x to hidden.

bluegeek9’s picture

Status: Needs review » Fixed
//www.flaticon.com/free-icons/thank-you Thank you for your contribution! Your continued support makes this project sustainable.
There are multiple ways to show appreciation for the work contributed to this project including:

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • bluegeek9 committed d808bcf9 on 8.x-1.x
    feat: #3588296 Introduce field widget display options
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.