Closed (duplicate)
Project:
Paragraphs
Version:
8.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Oct 2019 at 11:25 UTC
Updated:
24 Feb 2023 at 14:25 UTC
Jump to comment: Most recent
Comments
Comment #2
divyanshmoonat commentedI was also facing the same problem and here is a simple solution for this, it can be fixed using JavaScript State APIs.
Please refer to this link : Conditional Fields in Paragraphs Using the Javascript States API for Drupal 8
Comment #3
jungkunwar commentedI have tried all the available patches related to the conditional fields and paragraphs but none of they work on paragraph. In fact there is no effect on paragraph manage fields from conditional fields.
Comment #4
the_glitch commentedThere's another module called field_states_ui that also does what conditional_fields does but, unlike conditional_fields, it does work inside paragraphs. I just doesn't have fade in animations. There's also a couple of new patches that it has that you should apply.
Comment #5
maithili11 commentedI am still facing the same problem. Neither Conditional_Fields nor field_states_ui is working for me.
At first, when the page gets load, all required #states is working but when we click on "add paragraph" then applied #states gets vanish.
Comment #6
chandeepkhosa commentedThis is now working for me in Drupal 9 (hopefully you've upgraded from Drupal 8), I've added details here, take a look and see if it also works for you :)
https://www.drupal.org/project/conditional_fields/issues/2902164#comment...
Comment #7
jeffschulerSee #2902164: Controlled-by fields inside a Paragraph don't work.