unfoldadmin / django-unfold

Modern Django admin theme for seamless interface development
https://unfoldadmin.com
MIT License
1.93k stars 187 forks source link

class collapse inside inline not working any more #816

Closed omargawdat closed 1 week ago

omargawdat commented 1 month ago

unfold: 0.40 django: 5.12 chrome: latest

description: the collapse inside inline isn't working anymore

code:

class WorkerInline(StackedInline):
    form = WorkerForm
    model = Worker
    fk_name = "company"
    fieldsets = (
        (
            "Personal Information",
            {
                "fields": (
                    ("first_name", "last_name"),
                    "phone_number",
                    "gender",
                    "image",
                    "packages",
                    "is_active",
                )
            },
        ),
    )
    filter_horizontal = ("packages",)
    classes = ["collapse"]

additionally when I tried to use tab = true it doesn't work when switching language english:

image

arabic:

image
radzihcake commented 3 weeks ago

same

lukasvinclav commented 1 week ago

Fixed in #870