Replies: 1 comment
-
Hi there 👋, Thank you for reaching out. You will have to use the django-select2/django_select2/forms.py Lines 163 to 175 in f427b31 Cheers! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
When using dark mode that comes with django admin, the colors make the widget unreadable.
In this screenshot:
Steps to Reproduce
forms.ChoiceField(widget=Select2MultipleWidget, choices=get_sorted_operator_choices())
Note: I am not using the built in admin autoselect since these are not foreign keys. It is a foreign table, but using a different field then the foreign key.
I'm using vanilla Django 5.x. I believe dark mode was introduced at 3.2.
Expected Behavior
Like other dark mode select fields, the field should be black and the text white.
Beta Was this translation helpful? Give feedback.
All reactions