Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5710

StringValidator should set 'minlength' attribute to input and textarea

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 6.17.0
    • 6.18.0, 7.0.0-M4
    • wicket
    • None

    Description

      At the moment StringValidator sets 'maxlength' to input elements.
      According to http://www.w3.org/TR/html5/forms.html#the-maxlength-and-minlength-attributes maxlength could be set also to textarea elements.

      And there is 'minlength' attribute that could also be set automatically by Wicket.

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            mgrigorov Martin Tzvetanov Grigorov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: