- 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin
The combination of paragraphs & conditional_fields is very useful & should be working as expected.
"Should" is a complicated term in connection with community driven projects. Consider this phrasing a little bit unfortunate choice.
Please point to the correct the issue if I am updating the wrong one.
As you stated you tested on 1.0-alpha10 but this issue is for 8.x-1.x-dev - so please test the proper branch and report back if it is still not working. Thanks for understanding and any help is appreciated.
- 🇬🇧United Kingdom justinchev
This is something I'm also experiencing. Conditional fields work fine within a regular node, but the exact same type of managed field conditions don't work within 'Paragraphs'.
I'm using the following versions:
- Drupal core: 10.4.6
- Conditional Fields: 4.0.0-alpha6
- Paragraphs: 8.x-1.19
Steps to reproduce are similar to what others have said:
- Create a paragraph type
- Add two fields, eg. Boolean (yes/no) checkbox and a text field
- Set up a conditional field via 'Manage dependencies' so that the text field (target) is either visible/hidden depending on whether the checkbox is checked/unchecked (controller)
- The text field always shows no matter if the checkbox is checked/unchecked
When selecting the checkbox I don't see any changes happening in the html, eg 'css display none' being applied as it does when using a regular node content type.
I'm using the 'Gin Admin' theme, but tried switching back to 'Claro' but that didn't make a difference.