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

Select field can be set to required but defaults to first option

    Details

      Description

      Steps to Reproduce

      1. Go to Liferay > Content > Forms
      2. Add New Form
      3. Input Name
      4. Add field
      5. Choose "Select" field
      6. Input Question
      7. Enable "Required"
      8. Input 3 Options
      9. Save field
      10. Save form
      11. Go to Welcome page
      12. Add Form portlet
      13. Select Form
      14. Choose created form
      15. Close configuration
      16. View select field
      17. Submit form

      Expected Result:
      Select field should default to no choice. User must select a choice if the field is required.

      Actual Result:
      Select field defaults to first option. The "required" feature has no affect.

      Reproduced on:
      Tomcat 7.0.62 + MySQL 5.6.25. Portal master GIT ID: 2bae94d5919176552d322eda7f116de4d7b784f4.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              victor.ware Victor Ware
              Reporter:
              victor.ware Victor Ware
              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, 4 days ago

                  Packages

                  Version Package
                  7.0.0 Alpha 3