#28480: Nonstandard "minlength" property to <input/>
-------------------------------------+-------------------------------------
     Reporter:  Tomáš Pecina         |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Forms                |                  Version:  1.11
     Severity:  Normal               |               Resolution:  invalid
     Keywords:  minlength input      |             Triage Stage:
  form field                         |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Tomáš Pecina):

 Sure; https://www.w3schools.com/tags/tag_input.asp and, which is even more
 relevant, please try this:


 {{{
 echo '<input minlength=3>' | tidy
 }}}

 I'm using libtidy to check all HTML during unit testing on my project
 (https://github.com/tompecina/legal), and I had to drop minlength because
 the output did not pass the test.

 In my opinion, it is a matter of good policy not to include any
 nonstandard or proprietary HTML markup; it will have no impact on the
 validation as the MinLengthValidator is automatically added.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28480#comment:2>
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/067.49c8e6065875f489762601ec7a87b4f3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to