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.
This module works as it should, but there is problem, when I try to use it together with Display Suite, because the dependent field isn't hidden as it should according to settings in Conditional fields module settings. I think it is because Display suite also modifies visibility of fields.
Comments
Comment #1
tim.plunkettComment #2
andypostAlso taxonomy fields that depends in edit state are affected to view mode. No ability to display them
Comment #3
peterpoe CreditAttribution: peterpoe commentedI did a little testing with display suite and could not find any problem. I need more details on your configuration, please.
Comment #4
travisc CreditAttribution: travisc commentedWhen i create a custom field in ds, it doesn't show up in the dependency or dependee list. This seems to be the case for code fields and dynamic fields.
Comment #5
FiNeX CreditAttribution: FiNeX commentedAnother strange case:
- create a content type with two text fields (field_a, field_b) and a boolean field (field_bool)
- use conditional fields to enable field_b only if field_boolean is TRUE.
- add the field_a and field_b on a display suite region
- view the entity: even if both fields are filled and field_bool is TRUE only field_a is visible.
But if you add "field_bool" into the ds region, field_b will be visible...
Comment #6
tmsimont CreditAttribution: tmsimont commentedAlso, this module seems to break the order of the fields.
For example, if you have field_a and field_b and field_c, and you arrange them in the "Manage display" tab, the settings you configure there get overridden on the output. I see this in the teaser view mode
Comment #7
chaloum CreditAttribution: chaloum commentedI think that is the issue Im having as the conditions are ignored and it isn't working and I'm using Display suite
I getting the JS error
Warning:ReferenceError:reference to undefined property a.returnValue
when I click on the Dependee
Comment #8
dqd#6 this is not a CF issue.
#7 seems also to be another issue
#2 seems to be interesting, Thanks @andypost for bringing this up.
But apart from that we may have already or need new reports of this is still an issue in newer versions of this project. Thanks for the report and all the efforts in here. But due to inactivity in this issue for some years and because of the upcoming EOL of Drupal 7, I will close this issue on the way by cleaning up the issue queue.
Feel free to re-open as "Needs review" if you found a solution or have a patch to be reported to help others on this outdated version.
If you think this issue or missing feature should be addressed in a newer Drupal core 8 and above compatible version of this project, then please file a new issue to the latest dev.