#26516: Add support for HTML5 minlength attribute on forms.CharField
-----------------------------+--------------------
     Reporter:  jdufresne    |      Owner:  nobody
         Type:  New feature  |     Status:  new
    Component:  Forms        |    Version:  master
     Severity:  Normal       |   Keywords:
 Triage Stage:  Unreviewed   |  Has patch:  0
Easy pickings:  0            |      UI/UX:  0
-----------------------------+--------------------
 Just as there is support for the `maxlength` attribute in rendered forms,
 Django should add the `minlength` attribute when it is defined:

 Description of attribute:

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

 Can add alongside `maxlength` attribute:

 
https://github.com/django/django/blob/df8d8d4292684d6ffa7474f1e201aed486f02b53/django/forms/fields.py#L234-L239

--
Ticket URL: <https://code.djangoproject.com/ticket/26516>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/052.f8f26b6ecce723de2c9d6c3c9a27b0e0%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to