Undo update the values in fields in the component props form

Created on 14 August 2024, 5 months ago
Updated 15 August 2024, 5 months ago

Overview

  1. Select a component
  2. Update a prop of the component on the right hand form
  3. Press Undo
  4. Observe that while the preview state updates to revert the change, the field on the right still displays the changed value

Proposed resolution

Update the values of the fields in the form when the layoutModel state changes.

🐛 Bug report
Status

Closed: duplicate

Component

Page builder

Created by

🇬🇧United Kingdom jessebaker

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024