Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

only clear on first focus

ulferts6e9bc73fe680
diff --git a/frontend/src/app/modules/common/autocomplete/user-autocompleter.component.ts b/frontend/src/app/modules/common/autocomplete/user-autocompleter.component.ts
index f79dd63682d..b2e1da5575c 100644
--- a/frontend/src/app/modules/common/autocomplete/user-autocompleter.component.ts
+++ b/frontend/src/app/modules/common/autocomplete/user-autocompleter.component.ts
@@ -116,7 +116,9 @@ export class UserAutocompleterComponent implements OnInit {
}
public onFocus() {
- this.requests.input$.next('');
+ if (!this.requests.lastRequestedValue) {
+ this.requests.input$.next('');
+ }
}
public onModelChange(user:any) {