Skip to content

Report submit password autopopulate in Chrome also filling in suffix #3699

@exalate-issue-sync

Description

@exalate-issue-sync

When submitting a report, clicking the ELECTRONIC FILING PASSWORD field may prompt the user to autopopulate the password with a browser-saved password. If the user selects this, the SUFFIX (OPTIONAL) field is also being erroneously populated with the user’s email.

![Suggestion Copy 2@1x.png](/attachments/35659?name=Suggestion Copy 2@1x.png)

Task: Password field should retain Password Manager functionality, without populating suffix field. (Timebox, if causes issues, need to revisit).

QA Notes

null

DEV Notes

We are using the p-password primeng component [here|https://github.com/fecgov/fecfile-web-app/blob/e5a707a078a0649b42bc9bf6eaee96136fd0b3ce/front-end/src/app/reports/submission-workflow/submit-report.component.html#L129] with {{autocomplete="new-password"}}. The documentation is sparse but it seems that we cannot disable this feature but only set it to either {{current-password}} or {{new-password}}. The recommendation therefore is to replace the {{p-password}} component usage with {{}}

Ideal: Allow for Google Chrome to provide password manager functionality for password field only. Per Sasha, “maybe we could make a "fake" input for chrome to auto add the username to?” We want to avoid removing the ability for the user to use password manager here.

Design

null

See full ticket and images here: FECFILE-2965

Pull Request: #3744

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions