HTML5中是否有minlength验证属性? - Is there a minlength validation attribute in HTML5?

问题:

It seems the minlength attribute for an <input> field doesn't work. 彷佛<input>字段的minlength属性不起做用。 spa

Is there any other attribute in HTML5 with the help of which I can set the minimal length of a value for fields? HTML5中是否还有其余属性能够帮助我设置字段值的最小长度? .net


解决方案:

参考一: https://stackoom.com/question/h8o6/HTML-中是否有minlength验证属性
参考二: https://oldbug.net/q/h8o6/Is-there-a-minlength-validation-attribute-in-HTML5
相关文章
相关标签/搜索