Conditionally required fields are not required

Created on 4 May 2012, about 13 years ago
Updated 16 February 2025, 5 months ago

When activating a dependency that changes the required state of a field, required fields are not respected and the entity can be saved without values.

πŸ› Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

πŸ‡¨πŸ‡ΊCuba reych9

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.

  • πŸ‡«πŸ‡·France webmestre

    On Drupal 10.4.2 with the 4.0.0.alphe6 version, this issue is still working.
    The required star symbol is added next to the field.
    BUT the entity can be saved even the field is empty.

    Any solution?

  • πŸ‡©πŸ‡ͺGermany tobiasb Berlin

    D7 is gone. So bumping Version to 4.x.

  • Status changed to Needs work 12 days ago
  • πŸ‡ΊπŸ‡ΈUnited States drupgirl

    This issue is not solved, as conditionally required fields are not required.

Production build 0.71.5 2024