For the life of me, I can\'t figure out how to pre-populate a BooleanField with WTForms. I have a field called \"active\". It defaults to being not checked, and it\'s not requ
snahor's answer helped after much searching (+1). The google seems weak on this question. I found I needed
{{adminForm.is_admin.label}}
{{adminForm.is_admin(checked=True, class_="form-control")}}
{{adminForm.is_admin.label}}
{{adminForm.is_admin(checked=False, class_="form-control")}}
which I have utilised as
{{adminForm.is_admin.label}}
{{adminForm.is_admin(checked=user.is_admin, class_="form-control")}}