Add correct error messages, allow default state to be none

This commit is contained in:
zandercymatics 2024-04-18 12:14:10 -06:00
parent 7e7919691e
commit 03be457e37
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
4 changed files with 77 additions and 13 deletions

View file

@ -263,6 +263,8 @@ class BaseYesNoForm(RegistrarForm):
},
)
print(f"wjat are the error messages? {choice_field.error_messages}")
return choice_field
def get_initial_value(self):