Autocomplete on Username Field in User Edit Form #14699
Labels
bug
The issue in the code or project, which should be addressed.
type-frontend
Issues related to UI/UX issues, mostly about styles and frontend implementations on JavaScript.
Bug report
Summary
Autocomplete in the username field in the user edit form can lead to accidental saving of an incorrect username from that originally stored when the user hasn't been assigned a password - for example when imported without one.
Step to reproduce
Create a user via the API without a password on a domain you have an autocomplete username for.
Observed behavior
For users with no password, on Chrome the username is filled in with the first entry from my autocomplete list replacing the original username.
Expected behavior
It should retain the user's actual username.
Environment
MODX version 2.7.1-pl, apache 2.4, mysql 5.5, Chrome (tested on Linux, Mac & Windows.
I'm unclear as to the benefit of having autocomplete on any of the fields in the manager.
I see #6703 for the removal of autocomplete for the title field of resources too but this issue could be a real nuisance for unwary site admins.
The text was updated successfully, but these errors were encountered: