Make LOA inputs optional

This commit is contained in:
leigh-mil 2019-02-22 13:16:37 -05:00
parent 232416cede
commit bc05bbced0

View File

@ -31,7 +31,8 @@ class KOReviewForm(CacheableForm):
)
loas = FieldList(
StringField(
translate("forms.ko_review.loa"), validators=[Length(min=10), IsNumber()]
translate("forms.ko_review.loa"),
validators=[Length(min=10), IsNumber(), Optional()],
)
)
custom_clauses = TextAreaField(