Skip to content

Can not trash collection items that have empty required fields #13706

@PP-Tom

Description

@PP-Tom

Describe the Bug

Currently if you want to trash a collection item that has an empty required field, you get an error, "The following fields are invalid".

This should not matter when trashing as you are not publishing.

Link to the code that reproduces this issue

N/A

Reproduction Steps

  1. Create a versioned collection with required fields and trash enabled.
  2. Create a document.
  3. Trash the document.

Which area(s) are affected? (Select all that apply)

area: core

Environment Info

Node: 22.14.0
Payload: 3.54.0
Next: 15.4.6
React: 19.1.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: needs-triagePossible bug which hasn't been reproduced yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions