Skip to content

[5.x]: Entry type names include section name in conditionals builder Selectize input #15075

@mmikkel

Description

@mmikkel

What happened?

Description

Entry type names appearing in conditional builders are prefixed with the name of the section (or, one of the sections) they have been added to.

This doesn't make sense on Craft 5, considering entry types have been decoupled from sections (and have unique names), and it's especially confusing in cases where a single entry type has been added to multiple sections.

The issue appears to affect conditional builders in both entry index filters and field layout designer slideouts:

CleanShot 2024-05-27 at 15 07 14

CleanShot 2024-05-27 at 15 05 31

Steps to reproduce

Expected behavior

Entry type names should display in conditional builders without the name of any associated section prefixed.

Actual behavior

Conditional builder Selectize fields prefixes entry type names with (one of) the section(s) that entry type has been added to.

Craft CMS version

5.1.7

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

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions