bootstrap-flask
bootstrap-flask copied to clipboard
Question kwargs without value
A question for usage of kwargs, how to add a key without a value such as https://www.w3schools.com/tags/att_input_autofocus.asp Will add example usage to the example application when I have the answer.
Should this be done with wtforms.fields.Flags
from https://wtforms.readthedocs.io/en/master/fields/ ?
Passing autofocus="autofocus" is the correct usage.
https://www.w3.org/TR/html5/infrastructure.html#boolean-attributes