Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-22947

Hitting enter in autocomplete field doesn't work after typing component name with a space in it

    XMLWordPrintable

Details

    Description

      In the CONFDEV project on JAC, we have a component 'The Muppets' for our team. The component autocomplete doesn't work very well for me because it has a problem with multiple words in the component.

      The following breaks all the time for me in Firefox 3.6:

      1. In the edit issue screen, click in the Component/s field
      2. Type "The Mu"
      3. The autocomplete shows my component, "The Muppets", and it is selected (see screenshot)
      4. Hitting enter results in the error, "the mu is not a valid component" (see screenshot)

      By contrast, if you don't type the second word at all, and just enter 'The', then the autocomplete works correctly.

      At a guess, I'd say that either the space key handling in the autocomplete is doing something incorrect or the behaviour when hitting enter doesn't handle multiple words correctly.

      Attachments

        1. autocomplete-shows-correct-option.png
          17 kB
          Matt Ryall
        2. error-when-hitting-enter.png
          23 kB
          Matt Ryall

        Activity

          People

            pleschev Peter Leschev
            matt@atlassian.com Matt Ryall
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: