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

Created on 4 March 2024, 4 months ago
Updated 27 May 2024, about 1 month 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

Needs review

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.69.0 2024