Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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.
Comments
Comment #2
adammaloneComment #3
Chris Matthews CreditAttribution: Chris Matthews commentedComment #4
Liam Morland