fixed bug #3386
This commit is contained in:
parent
cba3bca8cf
commit
eac90d32cf
|
@ -692,7 +692,7 @@ class AllocateForm(ActionFormMix):
|
||||||
transaction = StringField(
|
transaction = StringField(
|
||||||
'Transaction', [validators.Optional(), validators.length(max=50)]
|
'Transaction', [validators.Optional(), validators.length(max=50)]
|
||||||
)
|
)
|
||||||
end_users = IntegerField('End users', [validators.Optional()])
|
end_users = IntegerField('Number of end users', [validators.Optional()])
|
||||||
|
|
||||||
def validate(self, extra_validators=None):
|
def validate(self, extra_validators=None):
|
||||||
if not super().validate(extra_validators):
|
if not super().validate(extra_validators):
|
||||||
|
|
Reference in a new issue