mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-04 02:03:32 +02:00
Updated comment
This commit is contained in:
parent
1035130978
commit
93b978abd3
1 changed files with 1 additions and 0 deletions
|
@ -587,6 +587,7 @@ class OtherContactsForm(RegistrarForm):
|
|||
|
||||
# Override clean in order to correct validation logic
|
||||
def clean(self):
|
||||
# NOTE: using self.cleaned_data directly apparently causes a CORS error
|
||||
cleaned = super().clean()
|
||||
form_is_empty = all(v is None or v == "" for v in cleaned.values())
|
||||
if form_is_empty:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue