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

ZeroMQ on Windows, with Qt Creator -

.net - Generate assembly with Roslyn -

batch file - filebot superstrict script: need tiny video sample or other solution -