Skip to content

Changelist sidebar two elements active / selected when using tabs with same model #1456

@alfonsrv

Description

@alfonsrv

What version of Unfold are you using? 0.62.0

What version of Django are you using? 5.2.x

Are you able to replicate the bug in the demo site? https://demo.unfoldadmin.com/en/admin/formula/driver/crispy-form

Describe your issue

When using tabs the first defined model instance is always selected in the sidebar. So it's active even when a different model is selected, resulting in two active sidebar items.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions