Weight fields appear when editing a translation even if the order can't be changed

Created on 4 March 2024, 9 months ago
Updated 6 August 2024, 3 months ago

Problem/Motivation

The UI is inconsistent when editing a translated node with paragraph. Even though the user cannot drag and drop the existing paragraphs, the table field with weights shows up, giving the false impression that the order can be changed.

If the user changes the order, then the usual error message stating that some properties can be changed only on the original language is shown.

Steps to reproduce

1. create a content type with a paragraph field, choose the STABLE widget
2. add paragraphs to the original node
3. add a translation, see that the weight numbers show up in the table

Proposed resolution

Hide the table column altogether in this case.

Remaining tasks

I have added a patch.

However, I wonder if this fix can only be applied to drupal 10.2?

🐛 Bug report
Status

Closed: duplicate

Version

1.17

Component

User interface

Created by

🇫🇮Finland vermario

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

Comments & Activities

Production build 0.71.5 2024