Can't edit group without removing and re-adding

Created on 22 October 2024, 3 months ago

Problem/Motivation

When editing a node that has already been added to a group, clicking "Edit" on the form widget, I would expect the field to become editable, but it doesn't. I still only see the label of the selected group.

It's only possible to change the group by removing the item and creating a new one. It a weird UX that I don't think is intentional.

The "Edit" button should work as expected and allow me to change the group, or the whole "Edit" button should just be removed, leaving only "Remove" (although this latter option feels more like a hack than a fix).

In all cases, the current behaviour is confusing.

See screenshots.

Steps to reproduce

1. Configure a group and a content type and add the entitygroupfield on this content type
2. Create a node of this content type and add it to a group... save.
3. Go back to edit the node and click "Edit" on the group field.

Expectation: Seeing an editable form field where i can select another group (via drop-down or autocomplete, depending on chosen widget).

Actual behaviour: I still only see the label of the selected group. No input field.

Proposed resolution

Fix widget to show the input field after clicking "Edit".

Remaining tasks

Fix widget.

User interface changes

N/A

API changes

N/A

Data model changes

N/A

🐛 Bug report
Status

Active

Version

1.0

Component

Widgets

Created by

🇬🇧United Kingdom khaled.zaidan

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

Comments & Activities

Production build 0.71.5 2024