Support custom form-required-mark element on state required change

Created on 1 October 2019, about 5 years ago
Updated 12 September 2024, 3 months ago

Problem/Motivation

We are using a custom form-required-mark span element to mark required form labels in a form. The problem is that this does not work with state:required JS change event - required classes are added over JS code in core/states.js. This results in state change required elements missing form-required-mark span element.

Proposed resolution

Similarly like core is doing add JS code that is reacting to state:required document change and add/remove form-required-mark element as needed.

🐛 Bug report
Status

Needs work

Version

2.0

Component

BS Bootstrap

Created by

🇷🇸Serbia pivica

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