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

Autofill is overwriting manually edited Text field

    Details

      Description

      Steps to reproduce

      1. Navigate to Content > Forms
      2. add a data provider as the following settings
        Name:zipcloud
        URL:http://zipcloud.ibsnet.co.jp/api/search?zipcode={zipcode}
        INPUTS:
        Label zipcode
        Parameter zipcode
        Type Text
        Required enable
        OUTPUTS:
        Label prefecture
        Parameter $.results[0].address1
        Type Text
        Label city
        Parameter $.results[0].address2
        Type Text
      3. add a form named "Address"
      4. add 3 text fields named "Postal code", "Prefectures" and "City"
      5. save the form
      6. add a rule as the following settings
        Condition:
        If "Postal code" "Is not empty" and "Prefectures" "Is empty"
        Actions:
        Do "Autofill" Form Data Provider "zipcloud"
        Data Provider's Input:
        zipcode "Postal code"
        Data Provider's Output:
        prefecture "Prefectures"
        city "City"
      7. add a form portlet to any page and set "Address" form
      8. input some value to "City" field
      9. input "1500000" to "Postal code" field

      Expected results:
      "City" field remains with manually edit field

      Actual results:
      "City" field value gets overwritten by autofill

        Attachments

          Activity

            People

            • Assignee:
              harry.chai Harry Chai
              Reporter:
              lino.alves Lino Alves
              Participants of an Issue:
              Recent user:
              Jason Pince
              Engineering Assignee:
              Lino Alves
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 10 weeks, 4 days ago

                Packages

                Version Package
                7.1.10 DXP FP13
                7.1.X
                7.2.10 DXP FP1
                7.2.X
                7.2.1 CE GA2
                Master