Support conditional fields where the fields are on different form modes

Created on 11 January 2018, almost 7 years ago
Updated 25 January 2024, 11 months ago

Problem/Motivation

This module does not work unless the control field and the target field both appear on the same form display mode.

Steps to reproduce

Create an entity type with at least two form display modes. Place the control field on one and the target field on the other. Observe that the conditions do not work.

Proposed resolution

Implement the conditions in PHP so that the access to the target field respects the conditions that have been configured even when the control field is not displayed on the current form display mode.

Remaining tasks

Implement.

User interface changes

None.

API changes

None.

Data model changes

None.

✨ Feature request
Status

Active

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bigscotia10

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