Pull requests

#48 Declined
Repository
jzellman jzellman
Branch
default
Repository
simplecodes simplecodes
Branch
default

Add support for optgroup in select fields and select widgets.

Author
  1. Jeff Zellman
Reviewers
Description

Hi,

This patch provides support for the optgroup tag in select lists. It was inspired by old patches I stumbled across on the web:

https://bitbucket.org/anti_social/wtforms/commits/a08d73a94e2ee04bedcb9f010ec04c2a68ae8464 https://gist.github.com/raw/1590178/0aeff2320d8f2eb4573fc85dccfa83047d19d145/wtforms_extended_selectfield.py

Please let me know if I need to change anything with the patch.

Thanks,

Jeff

Comments (1)