Skip to content

Conversation

@jpvanhal
Copy link
Collaborator

Add support for WTForms 3.2 by making the following changes:

  • Change SelectField.iter_choices to yield 4-item tuples instead to make the API compatible with WTForms 3.2.
  • Add validation_attrs attribute to HTML5Input due to Input.validation_attrs being removed in WTForms 3.2.

The minimum supported WTForms version is now 3.1.0.

Fixes #76.

Add support for WTForms 3.2 by making the following changes:

- Change `SelectField.iter_choices` to yield 4-item tuples instead to make
  the API compatible with WTForms 3.2.
- Add `validation_attrs` attribute to `HTML5Input` due to
  `Input.validation_attrs` being removed in WTForms 3.2.

The minimum supported WTForms version is now 3.1.0.

Fixes #76.
@jpvanhal jpvanhal merged commit 2043eaf into master Nov 14, 2024
10 checks passed
@jpvanhal jpvanhal deleted the support-wtforms-3.2 branch November 14, 2024 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Select field not compatible with WTForms 3.1.0

2 participants