Field dependency lost in edit form

Created on 19 May 2020, over 4 years ago
Updated 12 October 2023, about 1 year ago

I noticed the dependency (at the visible state) is not maintained in the edit form. I mean if an option is selected in A field to make B field to be revealed (become visible) and the save button to clicked to create the node, when you return to edit that specific node the B field is not visible even though the A field remains selected (returns to how the form was when you want to create a new node).

This is not the expected behaviour, or is it? One would expect the validation will be attached to the form id and not to just the field id or class.

Update
=====
In my instance, A field is a radio button and B field is select list. The site is D8.8.5.

🐛 Bug report
Status

Active

Version

4.0

Component

User interface

Created by

🇳🇬Nigeria ojchris

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇨🇦Canada darkodev

    Tried all patches for core and conditional_fields for D10, but nothing worked.

    Thanks to workaround in #8. Works flawlessly for multi-select dependee fields when loading the node edit form.

Production build 0.71.5 2024