Wtforms: How to generate blank value using select fields with dynamic choice values
Can you just prepend an empty pair to the list?
form.group_id.choices.insert(0, ('', ''))
If it's a QuerySelectField
, you can add parameters like this:
allow_blank=True, blank_text=u'-- please choose --'