mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-28 19:28:05 -06:00
WebUI: Prevent mobile keyboards from capitalizing username input
This PR improves the user experience on mobile devices by ensuring the username field in the login form does not automatically capitalize the first letter when the keyboard opens. Mobile browsers tend to automatically capitalize the first letter of text inputs, which can lead to login failures if the username is case-sensitive. By explicitly disabling autocapitalization, the WebUI ensures a more predictable and user-friendly experience on mobile devices. Tested on: iOS (Safari) Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com> PR #22725.
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
<form id="loginform">
|
||||
<div class="row">
|
||||
<label for="username">QBT_TR(Username)QBT_TR[CONTEXT=Login]</label><br>
|
||||
<input type="text" id="username" name="username" autocomplete="username" autofocus required>
|
||||
<input type="text" id="username" name="username" autocomplete="username" autocapitalize="none" autofocus required>
|
||||
</div>
|
||||
<div class="row">
|
||||
<label for="password">QBT_TR(Password)QBT_TR[CONTEXT=Login]</label><br>
|
||||
|
||||
Reference in New Issue
Block a user