← Back to release summary

minlength attribute

Category
User input
Type
New or changed feature
Status
Enabled by default (Chrome 40)
Intent stage
None

Summary

minlength attribute declares a lower bound on the number of characters a user can input.

Standards & signals

Docs: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input#attr-minlength https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-minlength

Samples: https://github.com/GoogleChrome/samples/tree/gh-pages/report-validity

View on chromestatus.com