diff --git a/README.md b/README.md index 7444ccb..71b539d 100644 --- a/README.md +++ b/README.md @@ -326,6 +326,11 @@ Misc Changelog ---------- +Version 1.1.3: +``` +Fix issue with validation extensions. +``` + Version 1.1.2: ``` Fix import issues. diff --git a/pyvalitron/form.py b/pyvalitron/form.py index b80f527..a7c2043 100644 --- a/pyvalitron/form.py +++ b/pyvalitron/form.py @@ -93,8 +93,8 @@ def _validate(self): if 'validate' in validation_rule: self._errors[current_input] = [] for rule_name, rule_args in validation_rule['validate'].items(): - getattr(self._validator, "set_input")(self._inputs[current_input]['value']) self._update_validator(rule_name) + getattr(self._validator, "set_input")(self._inputs[current_input]['value']) # Check if param exist and pass them to the method if 'param' in rule_args.keys() and len(rule_args['param']) > 0: current_status = getattr(self._validator, rule_name)(*rule_args['param']) diff --git a/setup.py b/setup.py index 1d65cb2..78e5ef6 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="pyvalitron", - version="1.1.2", + version="1.1.3", author="silverback", author_email="hello@clivern.com", description="A Python Inputs Validation Library.",