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

Validation for file input is triggered before a file is uploaded.

    Details

      Description

      Issue:
      Validation for file input is triggered before a file is uploaded.

      Step to reproduce:

      1. Add a structure with a file input(For 6.2.X, it is Image field, but for trunk, we refactor the image field, so the issue is hidden).
      2. Add a template with this structure.
      3. Add a web content with this template and structure.
      4. Click on the choose button

      Expected Behavior:
      The validation is not triggered until the end user upload a wrong type of file.

      Actual Behavior:
      The validation is fired when the file dialog is opened, before a file is chosen.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              felix.zhang Felix Zhang
              Reporter:
              john.zhao John Zhao (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 2 weeks, 2 days ago

                  Packages

                  Version Package
                  6.2.5 CE GA6
                  6.2.X EE
                  7.0.0 Alpha 3