Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
tommysvr opened this issue Oct 4, 2024 · 2 comments
Closed
Assignees
Labels

Comments

@tommysvr
Copy link

tommysvr commented Oct 4, 2024

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

@i-just
Copy link
Contributor

i-just commented Oct 4, 2024

Thanks Tommy! I raised a PR for this.

@brandonkelly
Copy link
Member

Craft 5.5.0 is out now with that fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants