Remove group tag arbitrary length limit (#645)

This commit is contained in:
Tim Loderhose
2022-05-30 18:28:53 +02:00
committed by GitHub
parent a2a1d5ae90
commit 437c8525af

View File

@@ -307,7 +307,7 @@ class ValidateCSSJSONXPATHInput(object):
class quickWatchForm(Form):
url = fields.URLField('URL', validators=[validateURL()])
tag = StringField('Group tag', [validators.Optional(), validators.Length(max=35)])
tag = StringField('Group tag', [validators.Optional()])
# Common to a single watch and the global settings
class commonSettingsForm(Form):
@@ -323,7 +323,7 @@ class commonSettingsForm(Form):
class watchForm(commonSettingsForm):
url = fields.URLField('URL', validators=[validateURL()])
tag = StringField('Group tag', [validators.Optional(), validators.Length(max=35)], default='')
tag = StringField('Group tag', [validators.Optional()], default='')
time_between_check = FormField(TimeBetweenCheckForm)