Skip to content

[5.x]: Dropdown field marked as dirty when opening slideout #15245

@thupsi

Description

@thupsi

What happened?

Description

In some particular matrix entries, when I open them in a slideout, the first dropdown field gets marked as dirty and the (matrix) entry as edited. It doesn't matter if I discard changes or save, this keeps happening whenever I reopen the slideout.

I had this only happen to the production enviroment of a project, and the dev environment was ok. I transfered the prod DB to dev and the issue then also appeared in that (dev) environment. Unfortunately this means that you may not be able to easily reproduce. In that case I can send over some config files etc.

I'm attaching a screen recording:

secelct_field_bug.mp4

Steps to reproduce

  1. Double click on a matrix field card to open slideout. Close it without editing.

Expected behavior

Nothing changes.

Actual behavior

The first dropdown field in the nested entry is marged as dirty, and the entry as edited.

Craft CMS version

5.2.3

PHP version

8.3.8

Operating system and version

No response

Database type and version

MySQL 8.0.36

Image driver and version

No response

Installed plugins and versions

Amazon S3 2.2.1
CKEditor 4.1.0
Control Panel Body Classes 3.0.0
Control Panel CSS 3.0.0
CP Field Inspect 2.0.1
Field Manager 4.0.1
Knock Knock 3.0.0
Mailjet Adapter 2.0.1
Palette 5.1.1
Vite 5.0.0
Webhooks 3.1.0

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions