Opened 17 years ago

Closed 17 years ago

#5774 closed (wontfix)

Default '----------' option in choices dropdowns present even when blank=False

Reported by: jim-django@… Owned by: nobody
Component: contrib.admin Version: dev
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

In the admin (not newforms-admin) and therefor, in old forms, fields with choices set get dropdowns whose first item is "--------" indicating "not selected".
This appears even when the field has blank=True, and it is always an error to select the "---------" option.

Change History (1)

comment:1 by Chris Beaven, 17 years ago

Resolution: wontfix
Status: newclosed

That's by design, so that the first option isn't just implicitly selected. Even if this was to change, it's not going to change in old-admin.

If you want to discuss this then I suggest bringing it up in the django-dev Google group.

Note: See TracTickets for help on using tickets.
Back to Top