New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

`readonly` validation should happen before any other validation #63

Closed
pmdarrow opened this Issue Nov 20, 2014 · 1 comment

Comments

Projects
None yet
2 participants
@pmdarrow
Copy link

pmdarrow commented Nov 20, 2014

Currently, when a field is marked as readonly and has a custom validation rule, that validation rule gets executed before readonly is checked. Ideally, if 'readonly': True is provided, that should happen before any other validation since it's pointless to validate a value that isn't allowed.

@nicolaiarocci

This comment has been minimized.

Copy link
Member

nicolaiarocci commented Mar 12, 2015

thanks! Should be fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment