Order not preserved after item removal

Created on 18 August 2020, almost 4 years ago
Updated 13 June 2023, about 1 year ago

Problem/Motivation

When the removal button is clicked, the previous order of elements is not preserved. I have seen this occur when the number of items is unlimited, but it may also affect fields that only allow a limited number of elements.

Steps to reproduce

  1. Create an entity reference field on a node
  2. Allow unlimited entries
  3. Add multiple elements to the field and save
  4. Edit the content and attempt to remove existing elements
  5. You will see here that after each removal the order of elements has changed

Proposed resolution

TODO

Remaining tasks

Write a patch.

πŸ› Bug report
Status

Active

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bobbygryzynger United States

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.

Production build 0.69.0 2024