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

Fix SelectField choice backwards compatibility #816

Merged

Conversation

aminalaee
Copy link
Contributor

Related to: #811

Fixes backwards compatiblity to SelectField choices to handle render_kw argument.

@mapio
Copy link

mapio commented Oct 28, 2023

This patch solves so many problems with other libraries using WTF (Flask ecosystem). So please accept it as soon as possible!

@azmeuk azmeuk merged commit 0247f4c into pallets-eco:master Nov 1, 2023
@azmeuk
Copy link
Member

azmeuk commented Nov 1, 2023

I added a deprecation warning and released this under 3.1.1
Thank you for your feedbacks

@aminalaee aminalaee deleted the fix-selectfield-backwards-compat branch November 1, 2023 12:58
ds283 added a commit to ds283/mps-project that referenced this pull request Jan 24, 2025
- see pallets-eco/wtforms#816; iter_choices() now has to return a tuple of four arguments, not three, with the fourth being the new render_kw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants