Radio fields are Optional()
This commit is contained in:
parent
caddfb5ff0
commit
ab519aa4df
@ -45,11 +45,13 @@ class AppInfoForm(CacheableForm):
|
|||||||
description=translate("forms.task_order.app_migration.description"),
|
description=translate("forms.task_order.app_migration.description"),
|
||||||
choices=APP_MIGRATION,
|
choices=APP_MIGRATION,
|
||||||
default="",
|
default="",
|
||||||
|
validators=[Optional()],
|
||||||
)
|
)
|
||||||
native_apps = RadioField(
|
native_apps = RadioField(
|
||||||
translate("forms.task_order.native_apps.label"),
|
translate("forms.task_order.native_apps.label"),
|
||||||
description=translate("forms.task_order.native_apps.description"),
|
description=translate("forms.task_order.native_apps.description"),
|
||||||
choices=[("yes", "Yes"), ("no", "No"), ("not_sure", "Not Sure")],
|
choices=[("yes", "Yes"), ("no", "No"), ("not_sure", "Not Sure")],
|
||||||
|
validators=[Optional()],
|
||||||
)
|
)
|
||||||
complexity = SelectMultipleField(
|
complexity = SelectMultipleField(
|
||||||
translate("forms.task_order.complexity.label"),
|
translate("forms.task_order.complexity.label"),
|
||||||
@ -74,6 +76,7 @@ class AppInfoForm(CacheableForm):
|
|||||||
description=translate("forms.task_order.team_experience.description"),
|
description=translate("forms.task_order.team_experience.description"),
|
||||||
choices=TEAM_EXPERIENCE,
|
choices=TEAM_EXPERIENCE,
|
||||||
default="",
|
default="",
|
||||||
|
validators=[Optional()],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user