Skip to content

[6.x] Replicator previews are not updated after sort #13110

@martyf

Description

@martyf

Bug description

When drag-and-dropping sets in a Replicator, the internal previews are not updated, resulting in the previews being display never updating.

This example has the data value output - this is so you can see the actual field value is correct, and it is just the previews that are not updating.
https://github.com/user-attachments/assets/ea5d68ef-2388-4676-a2de-577ff6a0354b

How to reproduce

  1. Install Statamic alpha 17 (or source)
  2. Edit a Blueprint, and add a Replicator
  3. Add a set with a single Text field
  4. Configure Replicator to collapse all sets on load
  5. Create an Entry with two sets (as above) and save.
  6. Edit the Entry
  7. Drag and drop the sets around

Logs

Environment

Statamic 6 Alpha 17  / Statamic 6 `master`

Installation

Fresh statamic/statamic site via CLI

Additional details

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions