This page shows how maxlength/minlength validation works. Although the two fields below have an invalid default value, browsers still judge them valid until you change the value. Then, all of a sudden, maxlength and minlength are enforced.
This field has maxlength=3
maxlength=3
This field has minlength=5
minlength=5