-
-
Notifications
You must be signed in to change notification settings - Fork 397
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: use SelectChoice as SelectField choices
- passing choices as `tuple` is deprecated - makes the code much more simpler, provide stronger typing and more explicit arguments - `<option>` can have custom attributes thanks to `SelectField.render_kw` - `<optgroup>` rendering by passing a `dict` parameter is deprecated. - `SelectField` does not render empty `<optgroup>`
- Loading branch information
Showing
9 changed files
with
354 additions
and
173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.