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

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

Open
sougrinoma-sawadogo opened this issue Dec 17, 2023 · 0 comments

Comments

@sougrinoma-sawadogo
Copy link

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!

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

No branches or pull requests

1 participant