Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-85025 As a Form Creator, I'd like to add a "Select From List" field to my Form
  3. LPS-91377

[Bug] Predefined Value Dropdown style context (Allow Multiple Selections) is being moved to Single Selection from Select From List when changing between field types

    Details

    • Type: Technical Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Forms
    • Labels:
      None
    • Sprint:
      Forms_7.2_14, Forms_7.2_17, Forms: Design Sprint 1, Forms_7.2_15, Forms_7.2_16

      Description

      Summary

      Predefined Value dropdown style context (Allow Multiple Selections) is being moved to Single Selection from Select From List when changing between field types

      Steps to Reproduce

      1. Liferay > Content > Forms;
      2. Add a form;
      3. Add a Select from list field;
      4. Add three options: Student, Driver, Teacher;
      5. Go to Properties tab and activate the "Allow Multiple Selections" property;
      6. On the Predefined Value, select the three options;
      7. Switch between the fields from Select from List to Single Selection;
      8. Observe how the Predefined Value dropdown style context is being shown (it is displayed as expected for Allow Multiple Selections - NOT OK);
      9. Switch back fields from Single Selection to Select from List;
      10. Observe that Allow Multiple Selections (the switch is OFF but the Predefined Value dropdown style is displayed as it was ON - NOT OK);

      Actual Result

      Predefined Value dropdown style context (Allow Multiple Selections) is being moved to Single Selection from Select From List when changing between field types

      Expected Result

      Predefined Value dropdown style context should work according to the field type.

      Test Environment: 

      http://192.168.111.84:32773

        Attachments

          Activity

            People

            • Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              alex.candido Alex Candido
              Recent user:
              Alex Candido
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 21 weeks, 5 days ago

                Packages

                Version Package