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

Adding an option to a Select from List field will modify the existing rules

    Details

      Description

      Steps to reproduce:

      1. Go to Content & Data > Forms;
      2. Create a new form;
      3. Add a "select from list" field;
      4. Manually add two options ("Option 1" and "Option 2") to that field;
      5. Add two more text fields ("Text 1" and "Text 2") to the form;
      6. Go to the rules tab and add the following two rules:
        1. If Field [Select from List] is equal to Value [Option 1] Enable [Text 1];
        2. If Field [Select from List] is equal to Value [Option 2] Enable [Text 2];
      7. Go back to the form tab, now click to edit the select field;
      8. Add another option ("Option 3");
      9. Go back to the rules tab.

      Actual result:
      If Field [Select from List] is equal to Value [Option 3] Enable [Text 1];
      If Field [Select from List] is equal to Value [Option 3] Enable [Text 2];

      Expected result:
      If Field [Select from List] is equal to Value [Option 1] Enable [Text 1];
      If Field [Select from List] is equal to Value [Option 2] Enable [Text 2];

        Attachments

          Activity

            People

            Assignee:
            chao.wang Chao Wang
            Reporter:
            rodrigo.paulino Rodrigo Paulino
            Participants of an Issue:
            Recent user:
            Yunlin "Steven" Sun
            Engineering Assignee:
            Rodrigo Paulino
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              40 weeks, 6 days ago

                Packages

                Version Package
                7.2.10 DXP FP10
                7.2.10.4 DXP SP4
                7.2.X