Problem/Motivation

It seems the conditional field is not working with the image field.

I have paragraph type as Test in that I have two fields, one is URL as a text-formated type and the second is Thumbnail as an image-type field with an Entity Browser widget.

I have added dependencies as making a thumbnail image is required when URL field is filled

I have added the Test paragraph in the block as entity referenced.

While adding content in the Block Thumbnail field is getting required. However, in the DOM I can see this attribute [required="required" aria-required="true"] getting added based on the URL field value change.

On saving the block, the field required condition is getting passed here.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

shani maurya created an issue. See original summary.

sourabhsisodia_ made their first commit to this issue’s fork.

joelpittet’s picture

Version: 4.0.0-alpha5 » 4.x-dev

Moving this to the 4.x-dev branch, where the fix needs to be made.