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

[4.x]: Multiple tabs with the same name are not displaying correctly when editing an element #12928

Closed
bertoost opened this issue Mar 19, 2023 · 2 comments
Assignees

Comments

@bertoost
Copy link
Contributor

What happened?

Description

When I accedentally added two of the same tabs to a category field layout. Just one is appearing on the edit page.

Probably this also occurs on other field layouts

Steps to reproduce

  1. Add a category
  2. Define two tabs with the same name
  3. Save it.
  4. Start editing

Expected behavior

I expect Craft to add 1 or 2 or to throw an error when I try to save duplicate names on tabs

Actual behavior

I saves without warning and not displaying the second tab with the same name.

Craft CMS version

4.4.1

PHP version

8.2.3

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

No response

@i-just i-just self-assigned this Mar 20, 2023
@i-just i-just changed the title [4.x]: [4.x]: Multiple tabs with the same name are not displaying correctly when editing an element Mar 20, 2023
@i-just
Copy link
Contributor

i-just commented Mar 21, 2023

Hi, thanks for reporting! I created a PR to address this.

@brandonkelly
Copy link
Member

Craft 4.4.5 is out now with a fix for this, via #12939 🎉

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

No branches or pull requests

3 participants