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

Clear manual list options only if dataSourceType is data-provider or autofill when saving form

    Details

      Description

      Steps to Reproduce:

      1. Go to Content > Forms
      2. Go to Settings > Data Providers
      3. Add a new Data Provider
        • Name: "Liferay Countries"
        • URL: "http://localhost:8080/api/jsonws/country/get-countries"
        • User Name: "test@liferay.com"
        • Password: "test"
        • Outputs:
          • Label: "Name"
          • Path: "nameCurrentValue"
          • Type "List"
      4. Save
      5. Go to Content > Forms
      6. Add a new Form
      7. Add a Text field
      8. Add a Select from List field
      9. Set 3 options for the Select field (A,B,C)
      10. Select "From AutoFill"
      11. Go to Rules tab
      12. Add a new rule
        • If Text field Is Not Empty
        • Autofill from Liferay Countries
        • Into Select field
      13. Save rule
      14. Publish Form
      15. Go to Publication URL
      16. Try to select one option from select field

      Expected Result:
      User will see no option available for selection

      Actual Result:
      User will see options defined in step 9

        Attachments

          Activity

            People

            • Assignee:
              brian.chan Brian Chan
              Reporter:
              marcela.cunha Marcela Cunha
              Participants of an Issue:
              Recent user:
              Michael Saechang
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 9 weeks, 4 days ago

                Packages

                Version Package
                7.1.0 Beta 3
                7.1.X
                Master