Skip to content

[5.x]: Pressing return discards inline field changes and saves owner entry #15841

@tommysvr

Description

@tommysvr

What happened?

Description

When inline-editing a Matrix field with the Element Index view, changes made to fields as discarded and the owner entry is saved when return is pressed.

Steps to reproduce

  1. Create a Matrix field with View more set to 'As an element index'
  2. Edit the entries inline and make a change
  3. Press return/enter

Expected behavior

Matrix/inline changes are saved and user stays on the entry screen.

Actual behavior

Owner entry is saved and redirected back to main element index; inline changes to Matrix field were not saved.

screenshot_2024_10_04._20.40.mp4

Craft CMS version

5.4.6

PHP version

8.2

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions