datetime - change default width of datetimefield wtforms -


trying change default dimensions of datetimefield.

etime = datetimefield(label='window end time(utc)', validators=[validators.inputrequired()], format="%a %d%b%y %h:%m",                       default=datetime.utcnow) 

tried add:

render_kw={'class': 'form-control', 'rows': 5,'cols':40} 

but no change in dimension, after rendering on html page. there way tweak default dimension of datetimefield


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -