Skip to content

Commit

Permalink
Don't include inNumericRange as the code isn't great currently
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffersonBledsoe committed Jan 29, 2024
1 parent 41a7cda commit d54879d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/collective/volto/formsupport/validation/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
"_internal_type",
]

VALIDATIONS_TO_IGNORE = ["inNumericRange"]


class IFieldValidator(Interface):
"""Base marker for collective.volto.formsupport field validators."""
Expand All @@ -39,6 +41,8 @@ def _update_validators():

if baseValidators:
for validator in baseValidators:
if validator.name in VALIDATIONS_TO_IGNORE:
continue
provideUtility(
ValidationDefinition(validator),
provides=IFieldValidator,
Expand Down

0 comments on commit d54879d

Please sign in to comment.