Skip to content
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

Add extra_validators parameter to validate_on_submit #479

Merged
merged 1 commit into from
Apr 14, 2022

Conversation

Skylor-Tang
Copy link
Contributor

@Skylor-Tang Skylor-Tang commented Oct 20, 2021

Add the extra_validators parameter to the validate_on_submit() method and pass it to WTForms's Form.validate() method.

FlaskForm validate_on_submit add parameter extra_validators to be compatible with flask2.0
@azmeuk
Copy link
Member

azmeuk commented Oct 28, 2021

Thank you for your contribution!
Would you consider to add a basic test, so the extra_validators argument won't be accidentally deleted by another contribution?

@azmeuk azmeuk merged commit 9f3c0f7 into pallets-eco:0.15.x Apr 14, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants