-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Login form's placeholder switches between upper and lower case #22813
Comments
If I recall, this is done as a subtle hint that the username needs to be all lowercase. It is weird though. |
Duplicate of #21820 |
You could mark this as duplicate, but what #21820 fails to point out is that this input field's behaviour in particular makes no sense. Even if it is intended to be lower case, then the unselected state is defective: |
sorry, I think there is some confusion. Though related, I wouldn't consider this a dupe. That issue is about the registration form and the UX around creating only new lowercase MXIDs. This issue here is about the login form and capitalization of the placeholder at a point where the capitalization of the placeholder is simply irrelevant because users already need to remember the spelling of their names anyway. The only thing I think you could do is upon failed login attempt with upper case letters, include in the error message to perhaps try lower case, or try that automatically. |
Yes, but the reason it is lowercase is as a failed solution to #21820 - so closing as duplicate to find a better solution and revert this one. |
Oh my bad on registration vs login |
Steps to reproduce
Outcome
What did you expect?
Username appears multiple times, including as a placeholder in the input field. upon entering the field, it should not change, but only disappear once you start typing. The password field has this behaviour.
What happened instead?
In a i18n such as 🇩🇪, nouns are generally spelled with an upper case first letter. Here, converting to lower is even more wrong compared to the fact that all your other labels stick to upper case:
Might be caused by:
https://github.com/matrix-org/matrix-react-sdk/blob/d599b1b206dba16fecdaf1824e2de38a302e4b60/src/components/views/auth/PasswordLogin.tsx#L317
Operating system
arch
Application version
Element Nightly version: 2022071101 Olm version: 3.2.8
How did you install the app?
aur
Homeserver
No response
Will you send logs?
No
The text was updated successfully, but these errors were encountered: