Skip to content

Hyper field retains element #259

@ryanleichty

Description

@ryanleichty

Describe the bug

The hyper field retains the entry element even after you remove it.

Image

This is the second card shown in the screenshot above. You can see that it has no entry, but when dumping the field it still shows that it has an element.

Image

Steps to reproduce

  1. Add a nested entry with a hyper field. In the hyper field, select an entry. Save it and the root owner.
  2. Delete the entry from the hyper field. Save it and the root owner.
  3. Dump the hyper field and see that an element is still saved with it.

Craft CMS version

5.8.14

Plugin version

2.2.7

Multi-site?

No

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions