Skip to content

[5.x]: Entry types in entry type selectors sometimes lose their name/handle overrides #17876

@mmikkel

Description

@mmikkel

What happened?

Description

If an entry type's name or handle is overridden in a Matrix field or section, Craft will temporarily lose those overridden values if the entry type is edited via the entry type's settings slideout. I.e. when the entry type chip is re-rendered after closing the entry type's settings slideout, Craft neglects to use the overridden name/handle.

Fortunately, the overridden values are not lost if the Matrix field or section is saved at this point, so this appears to just be a UI bug.

CleanShot.2025-09-19.at.09.07.14.mp4

Steps to reproduce

  1. Create a Matrix field, and add an entry type to it.
  2. From the Matrix field's settings page's entry type selector, click "Settings" from the entry type chip's actions disclosure menu, and override the entry type's name and/or handle. Click "Apply" to close the slideout.
  3. Double-click the entry type chip in the Matrix field's entry type selector to trigger the entry type's settings slideout. Click "Save" in the slideout to close it.
  4. Notice that the overridden values for the entry type name and/or handle have now disappeared from the entry type chip in the entry type selector.

Expected behavior

Actual behavior

Craft CMS version

5.8.17

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

None

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions