Add required class to label if required

Created on 16 March 2021, over 3 years ago
Updated 24 February 2023, over 1 year ago

Problem/Motivation

Required classes are missing on the form element. There should be an asterisk next to the field label if required.

Steps to reproduce

Set entitygroupfield to required on the widget. There's no visual indication to the user the field is required until they save and get hit with the validation message.

Proposed resolution

Add the required classes on the form label.

Remaining tasks

None

User interface changes

None

API changes

None

Data model changes

None

πŸ› Bug report
Status

Needs work

Version

1.0

Component

User interface

Created by

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

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