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
from wtforms import Form, SelectField, validators class MyForm(Form): my_field = SelectField(label='MyField', choices=[]) form = MyForm() form.meta.render_field(form.my_field, {})
Results in
IndexError: list index out of range
Due to:
wtforms/src/wtforms/fields/core.py
Line 512 in 0a63864
The text was updated successfully, but these errors were encountered:
Should be fixed by #582
Sorry, something went wrong.
No branches or pull requests
Actual Behavior
Results in
Due to:
wtforms/src/wtforms/fields/core.py
Line 512 in 0a63864
Environment
The text was updated successfully, but these errors were encountered: