Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Create custom field with type List (integer), cardinality = Unlimited
0|A
1|B
2|C
Create dependency for any field with condition
Values input mode = Insert value from widget...
A, C
Go to page for creating new node:
1) choose A and C - dependence works - OK
2) choose A, B and C - dependence works also - NOT OK
Dependence will work if you chose values that was added in dependency [A, C] and any count of other values [B].
Proposed resolution
Add strict checking for number of selected values in case that dependency was created using "Values input mode = Insert value from widget"
Comments
Comment #2
id.medion