Skip to content

django-jet-reboot does not render horizontal_filters in two columns like in the default django admin template #100

@sougrinoma-sawadogo

Description

@sougrinoma-sawadogo

Issue Summary:

Hello,

I have been using django-jet-reboot, and overall, it's been a fantastic experience. However, I've noticed an inconsistency in the rendering of fields defined as horizontal filters.

In the default Django admin, when a field is specified as a horizontal filter, it renders as expected, with two columns. The first column lists the available items, and the second column lists the assigned items, providing a clear and user-friendly interface:
django_horizontal_filter

However, when using django-jet-reboot, specifying a field as a horizontal filter doesn't seem to affect its rendering. Instead, it appears as a single multiple select input using select2, without the desired two-column layout.

Steps to Reproduce:

Define a field as a horizontal filter in django-jet-reboot.
Observe the rendering of the field.

Expected Behavior:

The field should be rendered with a two-column layout similar to the default Django admin when specified as a horizontal filter.

Actual Behavior:

The field renders as a single select input, lacking the expected two-column layout.

Additional Information:

Django Jet Reboot Version: 1.3.3
Django Version: 4.2.4

Thank you for your attention to this matter!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions