Make LOA inputs optional
This commit is contained in:
parent
232416cede
commit
bc05bbced0
@ -31,7 +31,8 @@ class KOReviewForm(CacheableForm):
|
|||||||
)
|
)
|
||||||
loas = FieldList(
|
loas = FieldList(
|
||||||
StringField(
|
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(
|
custom_clauses = TextAreaField(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user