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
Post a Comment