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

Autocomplete drop-down won't retract when selecting a option that has other options as prefix

    Details

    • Fix Priority:
      3

      Description

       Description:

      Autocomplete drop-down won't retract when selecting a option that has other options as a prefix

       Steps:

      1. Go to Content and Data > Form > Create new Form
      2. Add one text field
      3. Go to Autocomplete
      4. Click on the autocomplete switch to enable autocomplete
      5. Select Manually
      6. Add a few options that have the same prefix. Ex.: test & test & test123
      7. Publish the form
      8. Go to the published form
      9. Type some text to activate autocomplete suggestions
      10. Select one of the suggestions shown that is prefix of another option. Ex.: test
      11. Submit the form

       Expected behavior:
      After selecting one suggestion, the drop-down should retract

       Actual behavior:
      After selecting one suggestion, the drop-down won't retract, and the submit button will be obstructed by the drop-down, making it impossible to submit the current form

      Reproducible In:
      Portal Master
      Commit bd2f4bafaa8f8a5ce2ad621541ff965bbcab2010

      Browser: Brave - Version 1.21.76 Chromium: 89.0.4389.86 (Official Build) (64-bit)

        Attachments

          Activity

            People

            Assignee:
            matheus.almeida Matheus Almeida
            Reporter:
            mateus.melo Mateus Melo
            Participants of an Issue:
            Recent user:
            Sophia Zhang
            Engineering Assignee:
            Matheus Almeida
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.4.1 CE GA2 DXP 7,4
                7.4.13 DXP GA1
                Master