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

Disable autocomplete on text fields and form for work packages

Oliver Günther16726590ba34
diff --git a/frontend/src/app/shared/components/fields/edit/editing-portal/edit-form-portal.component.html b/frontend/src/app/shared/components/fields/edit/editing-portal/edit-form-portal.component.html
index 355e1cb00a5..5539e3d0511 100644
--- a/frontend/src/app/shared/components/fields/edit/editing-portal/edit-form-portal.component.html
+++ b/frontend/src/app/shared/components/fields/edit/editing-portal/edit-form-portal.component.html
@@ -3,6 +3,7 @@
[ngClass]="{'-error': handler.isErrorenous }">
<form (submit)="handler.handleUserSubmit()"
role="form"
+ autocomplete="off"
tabindex="-1">
<label [for]="handler.htmlId"
diff --git a/frontend/src/app/shared/components/fields/edit/field-types/text-edit-field.component.html b/frontend/src/app/shared/components/fields/edit/field-types/text-edit-field.component.html
index 44652e6efe0..8f0b0a11cac 100644
--- a/frontend/src/app/shared/components/fields/edit/field-types/text-edit-field.component.html
+++ b/frontend/src/app/shared/components/fields/edit/field-types/text-edit-field.component.html
@@ -1,6 +1,7 @@
<input
type="text"
class="inline-edit--field op-input"
+ autocomplete="off"
[opAutofocus]="shouldFocus"
[attr.aria-required]="required"
[attr.required]="required"