问题:
It seems the minlength
attribute for an <input>
field doesn't work. 似乎<input>
字段的minlength
属性不起作用。
Is there any other attribute in HTML5 with the help of which I can set the minimal length of a value for fields? HTML5中是否还有其他属性可以帮助我设置字段值的最小长度?
解决方案:
参考一: https://stackoom.com/question/h8o6/HTML-中是否有minlength验证属性参考二: https://oldbug.net/q/h8o6/Is-there-a-minlength-validation-attribute-in-HTML5
来源:oschina
链接:https://my.oschina.net/u/4438370/blog/4411011