# Bug OP-2426 - Work package query cannot be selected with "Enter" key

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-2426

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Low |
| Module |  |
| Target versions | 5.0.15 |
| Observed in versions |  |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

**Preconditions**

  - Work package module activated.
  - Query exists.

**Steps to reproduce**

1.  Click on “Work packages” to select query.
2.  Enter text to trigger auto-completion.
3.  Press ‘Enter’ when query is highlighted.

**Actual behavior**

  - Triggering with ‘Enter’ not possible ( but used to be).
      - It’s necessary to tab to the option (even when it’s the only one) and press ‘Enter’ then to select query.

**Expected behavior**

  - Query can be selected by pressing ‘Enter’.

**Screenshot**  
![](Bug_Query.png)

**QA system**

  - org-dev.qa.finn.de
  - OpenProject 5.0.0
