From d46a60c4b7961728744327deae2a371c50e44398 Mon Sep 17 00:00:00 2001 From: aasandei-vsp Date: Mon, 21 Sep 2026 14:42:56 +0300 Subject: [PATCH] Give each inline value editor its own field id and turn off autofill The Name field in the info panel and the record view rendered as a bare with no id and no autocomplete attribute, and every other editable metadata field rendered with that same generic name. Because of that, the browser could not differentiate between text inputs, so it would give the same suggestions to all of them. Now each instance of the inline value edit is uniquely identified, so there won't be any more suggestions appearing. Issue: PER-10762 --- .../inline-value-edit.component.html | 20 ++++++++-- .../inline-value-edit.component.spec.ts | 39 ++++++++++++++++++- .../inline-value-edit.component.ts | 5 +++ 3 files changed, 59 insertions(+), 5 deletions(-) diff --git a/src/app/shared/components/inline-value-edit/inline-value-edit.component.html b/src/app/shared/components/inline-value-edit/inline-value-edit.component.html index 755116911..606b1bcc7 100644 --- a/src/app/shared/components/inline-value-edit/inline-value-edit.component.html +++ b/src/app/shared/components/inline-value-edit/inline-value-edit.component.html @@ -7,7 +7,10 @@ tabindex="0" (focus)="startEdit()" type="text" - name="text" + [id]="inputElementId" + [name]="inputElementId" + [attr.name]="inputElementId" + autocomplete="off" class="form-control" [class.is-editing]="isEditing" [(ngModel)]="editValue" @@ -65,7 +68,10 @@