Setting a name field required does not add appropriate input attribute and class

Created on 21 January 2021, almost 4 years ago
Updated 10 September 2024, 2 months ago

Problem/Motivation

On 8.x-1.0-rc3, when a name field is set to be required, the required attribute and class is not added to the fields inputs in the markup. Tested on Drupal 8.9.13. The issue does not appear to occur on RC2.

Steps to reproduce

1. Enable the Name field module (8.x-1.0-rc3)
2. Add name field to any content bundle or contact form.
3. Examine field markup.

Proposed resolution

Not available at this time.

Remaining tasks

Not available at this time.

User interface changes

Not available at this time.

API changes

Not available at this time.

Data model changes

Not available at this time.

πŸ› Bug report
Status

Needs review

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bamberjp

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