πŸ‡ΊπŸ‡ΈUnited States @apraturu

Account created on 18 July 2016, almost 8 years ago
#

Recent comments

πŸ‡ΊπŸ‡ΈUnited States apraturu

I am having an issue related to removing single items from a list on an edit form, both before and after installing patch #77. I'm wondering if anyone has had a similar issue. It happens when I do the following:

1) Create a list of 3 items (A, B, and C) and save the list.

2) Open the list for editing. As expected, the list appears on the edit form like this:
1. A
2. B
3. C
4.

3) Remove item A and then item B. The list now appears like this, as it should:
1. C
2.

4) Click the button to add another item to the list.

The expected result is this list:
1. C
2.
3.

However, the actual result is this:
1. C
2.
3. C

The new item comes pre-populated with the item that was in that slot at the start, rather than an additional empty slot as expected. Any ideas on the cause/or solution to this would be extremely helpful. Thanks!

Edit: You can reproduce this behavior on simplytest.me with a clean Drupal 8.1.8 install. Just add a new field to an article content type with unlimited values and follow the steps above and you'll see the same result.

Production build 0.69.0 2024