Brevard Swart created WICKET-6302:
-------------------------------------

             Summary: Autofocus does not work with Validator popover decorators
                 Key: WICKET-6302
                 URL: https://issues.apache.org/jira/browse/WICKET-6302
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 7.5.0
            Reporter: Brevard Swart
            Priority: Minor


If you add an autofocus attribute to your markup on a form input element which 
you added a validator to:
<input type="text" class="form-control" wicket:id="firstName" autofocus>

In your wicket code you have some validators added like PatternValidator or 
StringValidator to some of the TextField components and have an 
EmailAddressValidator in the form that will be submitted. If their is a 
validation issue on the form it will not always display the validation error in 
popovers for all the fields where the validation has failed, like it would 
without the autofocus.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to