Fix for #2728 Toggle Password button focus

Added  tabindex="-1" to the Button control so that focus is not received and passed the the following control.
This commit is contained in:
Leigh Pointer
2023-04-05 07:51:32 +02:00
parent 2f1e386554
commit 789baf99ff
8 changed files with 14 additions and 14 deletions

View File

@ -143,7 +143,7 @@
<div class="col-sm-9">
<div class="input-group">
<input id="password" type="@_smtppasswordtype" class="form-control" @bind="@_smtppassword" />
<button type="button" class="btn btn-secondary" @onclick="@ToggleSMTPPassword">@_togglesmtppassword</button>
<button type="button" class="btn btn-secondary" @onclick="@ToggleSMTPPassword" tabindex="-1">@_togglesmtppassword</button>
</div>
</div>
</div>