removed default empty options from Checkboxes as they are only needed for Selects

This commit is contained in:
David Kennedy 2025-01-17 17:38:00 -05:00
parent 3708ef1672
commit ba2788014b
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B
4 changed files with 6 additions and 11 deletions

View file

@ -37,7 +37,7 @@ class PortfolioOrgAddressForm(forms.ModelForm):
state_territory = forms.ChoiceField(
label="State, territory, or military post",
required=True,
choices=[("", "--Select--")] + DomainInformation.StateTerritoryChoices.choices,
choices=DomainInformation.StateTerritoryChoices.choices,
error_messages={
"required": ("Select the state, territory, or military post where your organization is located.")
},