While switching to wtforms-sqlalchemy from another library I ran into an issue that we have columns with nullable=False and default value, which should be able to post, but the generated form had added a required validator to those fields so validation failed.
Example of columns:
description = Column(Unicode(20), default="", nullable=False)
active = Column(Boolean, default=True, nullable=False)
Validation result from submitting form:

The expected result is that those fields should not have been required so that form processing would continue. Do you see any issues with setting columns with a default to Optional?
Edit: It seems that a checkbox should never be required, right?
While switching to
wtforms-sqlalchemyfrom another library I ran into an issue that we have columns withnullable=Falseanddefaultvalue, which should be able to post, but the generated form had added a required validator to those fields so validation failed.Example of columns:
Validation result from submitting form:

The expected result is that those fields should not have been required so that form processing would continue. Do you see any issues with setting columns with a
defaulttoOptional?Edit: It seems that a checkbox should never be required, right?