Problem/Motivation

It seems to affect <fieldset> wrapped fields, like the List (text) fields with the Check boxes/radio buttons widget, and Name field due to the recent update to use a <fieldset> wrapper.

Steps to reproduce

TBD

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

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

jcandan created an issue. See original summary.

jcandan’s picture

Status: Active » Postponed (maintainer needs more info)

Unable to reproduce. May be project related.

jcandan’s picture

Title: Fix duplicate asterisks on fieldset labels » Fix duplicate required class on fieldset labels
Related issues: +#3476905: Fix required field indicator appears twice

Turns out it was a styling issue. Indeed, the .form-required-on-publish class is being applied to both the child and parent element.

<legend class="form-required-on-publish">
  <span class="form-required-on-publish"></span>
</legend>

This follows from the code we copied from Conditional Fields. They have the same issue: #3476905: Fix required field indicator appears twice.

The fix is to remove the placement to the <legend> element.

jcandan’s picture

Assigned: Unassigned » jcandan
Status: Postponed (maintainer needs more info) » Active

jcandan’s picture

Assigned: jcandan » Unassigned
Status: Active » Fixed

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.

  • jcandan committed e7cda07d on 2.1.x
    fix: #3582877 Fix duplicate required class on fieldset labels
    

Status: Fixed » Closed (fixed)

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