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-91376

[Bug] Predefined Value is not reset to Choose an Option after switching off the Allow Multiple Selections

    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 is not reset to Choose an Option after switching off the Allow Multiple Selections.

      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 off the Allow Multiple Selections;
      8. Observe how the Predefined Value dropdown is shown on the Sidebar (all the options are still selected, instead of Choose an Option - NOT OK);
      9. Observe how the Select from List is shown in the form builder (the predefined value is shown with the first option instead of Choose an Option - NOT OK);
      10. Publish the form and observe how the Select from List is shown (the predefined value is shown with all the options selected, instead of Choose an Option - NOT OK).

      Actual Result

      Predefined Value is not reset to Choose an Option after switching off the Allow Multiple Selections.

      Expected Result

      Predefined Value should reset to Choose an Option after switching off the Allow Multiple Selections.

      Test Environment: 

      http://192.168.111.84:32773

        Attachments

        1. ActualResult-Feb28-LPS-91376.gif
          133 kB
          Alex Candido
        2. QA_Validation_Mar7-LPS91376.gif
          1.13 MB
          Alex Candido
        3. Screen Shot 2019-02-28 at 12.23.33.png
          63 kB
          Alex Candido
        4. Screen Shot 2019-02-28 at 12.25.30.png
          77 kB
          Alex Candido

          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, 28 weeks, 3 days ago

                Packages

                Version Package