Respect Name field “show required markers” and minimum components for ROP visuals

Created on 24 October 2025, 8 days ago

Problem/Motivation

When a Name field is configured as ROP, the UI should:

  • Respect the Name setting “Show required markers”.
  • Paint blue indicators on the configured minimum components.
  • Avoid HTML5 blocking and red asterisks from Name’s minimum components when ROP is in effect.

Current behavior conflicts with Name’s internal required markers.

Steps to reproduce

  1. Configure a Name field with minimum components (e.g., Given + Family) and “Show required markers”.
  2. Enable ROP on that Name field.
  3. Observe incorrect/extra red markers or missing blue markers on the wrapper or non-minimum components.

Proposed resolution

This solution probably requires Name element should scope required state to minimum components when #states['required'] is applied to the wrapper/element Active .

  • Set #required_on_publish on .name-core-component.
  • Toggle .form-required-on-publish minimum components.

Remaining tasks

  • Test coverage

User interface changes

Blue "required on publish" markers appear on the Name wrapper and only the minimum components; Name's red asterisks suppressed when ROP applies.

🐛 Bug report
Status

Active

Version

2.1

Component

Code

Created by

🇺🇸United States jcandan

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