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
相關文章
相關標籤/搜索