Page data form values-in-progress not retained for Media Library (and perhaps other) fields

Created on 30 June 2025, 2 days ago

Overview

  • Go to the XB interface for an entity that has a field that uses the Media Library widget.
  • In the page data form, make some edits to the field using the media library widget as well as changes to a field using a simpler widget (page title or some other text field FE).
  • Do not publish your changes
  • Switch to editing a component in the layout so the form changes. Note that I can only make this switch if I add a component to the layout... after I add media I'm unable to click a component and have its form appear That may warrant its own issue if it isn't part of the solution here
  • Return to the Page Data form, note that the recently-changed value of the text field is intact, but the changes in the Media Library widget are not.
  • However, if you publish the changes, those recent changes including the not-in-the-form media library widget changes are published.

Proposed resolution

  • Not sure yet, but worth noting this is in the page data form, so it does not use transforms, so it aint that
  • This might be related to the inputs with missing values being ones added via AJAX vs the render array

User interface changes

🐛 Bug report
Status

Active

Version

0.0

Component

… to be triaged

Created by

🇺🇸United States bnjmnm Ann Arbor, MI

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024