Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-25322

Liferay.Form JS doesn't prevent form submission if event.preventDefault() is called

    Details

      Description

      When attaching a listener to a form's submit event, if we call preventDefault(), we should be preventing the form from being submitted.
      However, we're currently always submitting unless stopPropagation has been called. This should instead be set to either stopped or prevented.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              nathan.cavanaugh Nate Cavanaugh
              Reporter:
              nathan.cavanaugh Nate Cavanaugh
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 38 weeks, 1 day ago

                  Packages

                  Version Package
                  6.1.10 EE GA1
                  --Sprint 11/12
                  6.2.0 CE M2