Hi Martin, Thanks you the quick reply, I have created an issue and quickstart:
https://issues.apache.org/jira/browse/WICKET-5987 -Rob On Mon, Sep 28, 2015 at 10:57 AM, Martin Grigorov <[email protected]> wrote: > Hi, > > I looks like a bug. > Please create a ticket with a quickstart and/or unit test. > Thanks! > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Mon, Sep 28, 2015 at 10:54 AM, Rob Audenaerde <[email protected] > > > wrote: > > > Hi all > > > > I have a change-password-page with a PasswordField with > > a StringValidator.lengthBetween( 3, 20 ). > > > > I ran into an error where I could paste a long password (>20 chars), and > > Wicket not throwing errors, but cutting the password to length 20. > > > > Wicket version: 7.0 > > Chrome: 45 > > > > The maxlength is rendered as attribute on the element. > > > > <input id="password" type="password" name="password" value="" > > maxlength="20" minlength="3"> > > > > > > Is this a desired behavior? I found it rather confusing.. > > >
