#1387 Allow all the forms containing an optional SelectField to return None
Merged by pingou. Opened by pingou.
fix_forms  into  master

Download 1387.patch

Otherwise, when the field was containing None it would be converted
to 'None' this is due to the default coerce being unicode in wtforms
cf: http://wtforms.simplecodes.com/docs/0.6/fields.html#wtforms.fields.SelectField

:thumbsup:

Thanks :)

coerce it is :) :+1:

Pull-Request has been merged by pingou

Metadata