Media entity name optional

Created on 5 February 2023, about 2 years ago
Updated 6 February 2023, about 2 years ago

Problem/Motivation

I have added a Media reference in a content type and set it as optional. When creating new content, the Media field name is required and cannot save without setting it.

Steps to reproduce

  • Create a new media type 'my_media'
  • Add a field in your 'my_content_type' content type referencing 'my_media' type
  • Set the field as optional
  • Add content of type ''my_content_type'
  • Set the content type title and leave all the 'my_media' fields unset
  • Save

Proposed resolution

When adding a reference to Media as optional, 'Name' should be optional unless there is any other field fulfilled. So, the media is not created unless some field is informed.

✨ Feature request
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain dtamajon

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

Comments & Activities

Production build 0.71.5 2024