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]: Native attribute don't show up in the field layout editor when a tab is deleted #15064

Closed
MoritzLost opened this issue May 24, 2024 · 2 comments
Assignees
Labels

Comments

@MoritzLost
Copy link
Contributor

MoritzLost commented May 24, 2024

What happened?

Description

In the field layout editor for any element type, deleting a tab with some fields in it returns those fields to the list of fields on the right (if they were single-instance fields to begin with). But this doesn't happen for native attributes. If I delete a tab with a native attribute in it, the attribute is gone from the list and can't be added until the page is reloaded.

Steps to reproduce

  1. Open the field layout editor for an asset volume.
  2. Create a new tab and drag the native alt attribute into it.
  3. Delete the tab.

Expected behavior

Native properties should appear in the list when it's removed from the field layout editor by removing the containing tab.

Craft CMS version

5.1.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 May 28, 2024

Hi, thanks for reporting! I raised a PR for this.

@brandonkelly
Copy link
Member

Craft 5.1.8 is out with that fix. Thanks again!

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