Details

      Description

      Reproduction steps:

      1) Build and start the portal ee-6.2.x (edcb8e15b4a3824f3adba4d4e95fcbeb2c0d5a56)
      2) Implement and deploy a portlet with the below code in the view.jsp:

      <%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
      <%@ taglib prefix="aui" uri="http://liferay.com/tld/aui" %>
      
      <portlet:defineObjects />
      
      <aui:form>
          <aui:input type="checkbox" name="hello">
              <aui:validator name="required" />
          </aui:input>
          <aui:button type="submit" name="submit" />
      </aui:form>
      

      3) Place it on a page
      4) Click on "Submit" without selecting the checkbox

      Expected: Validation to fire
      Actual behavior: Validation will not fire, submission will be possible

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 25 weeks, 6 days ago

                  Packages

                  Version Package
                  6.2.X EE