Support non-translatable fields as control field

Created on 3 September 2024, 8 months ago

Problem/Motivation

When enabling translation on an entity, let's say a node and content moderation, the non-translatable fields are not shown/displayed when trasnlating the entity, it is only there when editing the source entity.

Therefore the conditional fields only work when editing the source entity.

Proposed resolution

Introduce an option "Fetch value from original source language" in the ConditionalFieldEditForm to get the value from the source entity when editing a translation of that entity.
Value could be provided as hidden field or in DrupalSettings.
Hoping that it would work with all Input values modes.

Feature request
Status

Active

Version

4.0

Component

Compatibility w/ other modules

Created by

🇧🇪Belgium ludo.r Brussels

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

Comments & Activities

Production build 0.71.5 2024