Files
payload/test/fields/collections
Jessica Rynkar 37c945b95b fix(ui): custom row labels on arrays should not be removed on field duplication (#12895)
### What?
This fix prevents custom row labels being removed when duplicating array
items.

### Why?
Currently, when you have an array with custom row labels, if you create
a new array item by duplicating an existing item, the new item will have
no custom row label until you refresh the page.

### How?
During the `duplicate` process, we remove any react components from the
field state. This change intentionally re-adds the `RowLabel` if one
exists.

#### Reported by client
2025-06-25 09:44:00 -04:00
..
2024-08-21 20:44:04 -04:00
2024-08-21 20:44:04 -04:00
2025-05-22 10:04:45 -04:00
2024-11-11 13:59:05 -05:00