helloflask / bootstrap-flask

Bootstrap 4 & 5 helper for your Flask projects.

Home Page:https://bootstrap-flask.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Actively withholding placeholders

PanderMusubi opened this issue · comments

Do we want to actively want to withhold placeholders for BooleanField etc where they only result in W3C validation errors? As they are never useful for these kind of input types.

See also 60c7f5a#diff-ca81977f24b927fa965a91c8be54e47056fa6c59e8acbfeb2f2754217a94dc7eR87

Note, this discussion is not concerning placeholders for DateTimeField fields.

Perhaps also log a warning for these situations when Flask is running in debug mode.

@greyli is this also a feature request for wrforms?