mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-03-30 04:24:07 -04:00
Disable autocorrect and autocapitalize for login/register (#771)
This commit is contained in:
@@ -88,7 +88,7 @@ else
|
||||
<DataAnnotationsValidator/>
|
||||
<div>
|
||||
<label asp-for="Input.Email" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Your username or email</label>
|
||||
<InputTextField id="email" @bind-Value="_loginModel.Username" type="text" placeholder="name / name@company.com"/>
|
||||
<InputTextField id="email" @bind-Value="_loginModel.Username" type="text" placeholder="name / name@company.com" autocapitalize="off" autocorrect="off"/>
|
||||
<ValidationMessage For="() => _loginModel.Username"/>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
<div class="space-y-4">
|
||||
<div>
|
||||
<EditFormRow Id="username" Label="Username" @bind-Value="Username" Placeholder="Enter your desired username or email" OnFocus="@OnUsernameInputFocus" />
|
||||
<EditFormRow Id="username" Label="Username" @bind-Value="Username" Placeholder="Enter your desired username or email" OnFocus="@OnUsernameInputFocus" autocapitalize="off" autocorrect="off" />
|
||||
@if (_isValidating)
|
||||
{
|
||||
<div class="mt-2 text-sm text-gray-600 dark:text-gray-400">Validating username...</div>
|
||||
|
||||
Reference in New Issue
Block a user