Description
When using dark mode that comes with django admin, the colors make the widget unreadable.
In this screenshot:
- Regions is using forms.MultipleChoiceField
- Operators is using forms.ChoiceField(widget=Select2MultipleWidge

Steps to Reproduce
- Create a Select2 field. In my case I am using
forms.ChoiceField(widget=Select2MultipleWidget, choices=get_sorted_operator_choices())
- Render the page and see that the text is white in a white box.
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.
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.