Hello. I think I've found a bug. Prior to Django v3.1, both of the fields in the following form would be rendered with an empty option, labelled as '---------':
``` from django import forms from .models import Animal class AnimalForm(forms.Form): animal_select = forms.ModelChoiceField( queryset=Animal.objects.all(), required=False, ) animal_radio = forms.ModelChoiceField( queryset=Animal.objects.all(), required=False, widget=forms.RadioSelect() ) ``` Since Django v3.1, the field using the RadioSelect widget no longer displays the empty option. I've tested it with the following versions: 3.0 works 3.0.12 works 3.1 broken 3.1.6 broken 3.2a1 broken I can't find anything in the docs or the v3.1 release notes (https://docs.djangoproject.com/en/dev/releases/3.1/#forms) to explain the change. Does anyone know if this is intentional? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/bd2dcf85-c453-4b84-9b27-e41e5721a10dn%40googlegroups.com.