mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 21:33:27 -07: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:
parent
c7caae1150
commit
83799f4f07
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue