Opened 18 years ago
Last modified 15 years ago
#4092 closed
django/contrib/localflavor/usa/forms.py USStateSelect missing blank options — at Version 3
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | contrib.localflavor | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
This field needs to have the default starting option of ('', '----------')
so people don't accidentally forget to change it and have a bunch of submissions for Alabama.
I can submit a patch for this later on if needed
Chad Simmons
Change History (3)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
Component: | Uncategorized → django.contrib.localflavor |
---|---|
Owner: | changed from | to
Triage Stage: | Unreviewed → Accepted |
comment:3 by , 17 years ago
Description: | modified (diff) |
---|
(Fixed description formatting)
I'm not really sure what to do about this. The blank entry (if we include it), should be inserted by the widget, since it's not part of the data. And possibly only inserted if no choice is selected. We should also do the same thing for every other localflavor widget; nothing special about the US version here.
Patches welcome, certainly. Something to look at might make it easier to decide.
.... it stripped off the blank value ticktick