Cannot set default value for Media field

Created on 24 July 2025, 12 days ago

Problem/Motivation

It looks like Use modal in add new field flow Active introduced a regression to adding default values for media fields. This is because the media selection widget opens a modal which in turn closes the field creation modal.

Steps to reproduce

  1. Create a media field
  2. Open media library to set a default value
  3. Try to insert the media
  4. Confirm there's an error message behind the modal and the media isn't inserted to the field

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Active

Version

11.2 🔥

Component

field system

Created by

🇫🇮Finland lauriii Finland

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

Comments & Activities

Production build 0.71.5 2024