# Bug OP-11278 - Search field is not cleared after selection on Watchers

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 14.0.0 |
| Observed in versions | 12.3.0 |
| Sprint | 14.0.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 12.3.x |
| 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

### Steps to reproduce

1.  Login into <https://qa.openproject-stage.com/>
2.  Open one of your projects and then select one of the work packages
3.  Go to Watchers tab
4.  Click on the search field and try searching for a user
5.  Once you have found the user, click to select it -\> the user will appear as a watcher

### What is the buggy behavior?

  - Even after you've selected the user and they appeared as a watcher, their name still stays in the search field so users manually have to clear the input if they want to add another watcher

<img class="op-uc-image op-uc-image_inline" style="width:1408px;" src="/api/v3/attachments/39455/content">

### What is the expected behavior?

1.  Search field should be cleared after the user is selected

### Screenshots and other files

*If you have screenshots of the application's bug behavior or other relevant files, please drag them into this place or attach them using the "Files" section.*

### Environment information

*Please check and fill out the following details to help us identify in what versions and distributions of OpenProject the error occurs*

**OpenProject installation type**

- [ ] Hosted cloud edition
- [ ] Packaged installation
    - What distribution?
- [ ] Docker All-in-one container
- [ ] Docker-compose installation
- [x] Other (please specify): QA Edge 

**OpenProject version**

**OpenProject 12.4.0 a0e8216b (2022-10-12 08:36:49 +0000)**

**Browser**

- [x] Chrome
- [x] Firefox
- [ ] Safari
- [ ] Mobile Safari
- [ ] Other (please specify)
