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

Text field does not display when autocomplete uses data provider

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.2.10 DXP FP2, 7.2.X, Master
    • Fix Version/s: Master
    • Component/s: Forms
    • Labels:

      Description

      Steps to reproduce

      1. Start a clean bundle of Liferay DXP 7.2
      2. Create a Data Provider with the following information.
        Name: restcountries
        Rest URL: https://restcountries.eu/rest/v2/region/{region}?fields=name
        Inputs: Label - region, Parameter - region, Type - Text
        Outputs: Label - Country, Path - $..name, Type - List
        
      3. Create a new form
      4. Add a Text Field and label it Region
      5. Select the Autocomplete tab and turn it on
      6. Select the From Data Provider button
      7. Select the following: Data Provider - restcountries, Output Parameter - Country
      8. Save it and now preview the form.

      Expected Results: Region Field displays
      Actual Results: You'll see that the Region field doesn't display.

      Master:
      Can't test - Form showed an error when publishing or previewing saying "Must select an option for Countries" - b3e01a4fc8ba48bf0202732570f82c15ce90c085

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

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

                Packages

                Version Package
                Master