1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-02-15 23:16:11 +00:00

feat: auto-focus on the login buttons (#647)

This commit is contained in:
Alessandro (Ale) Segala
2025-06-10 12:13:36 -07:00
committed by GitHub
parent fd3c76ffa3
commit d6795300b1
3 changed files with 25 additions and 8 deletions

View File

@@ -52,7 +52,7 @@
{m.authenticate_yourself_with_your_passkey_to_access_the_admin_panel()}
</p>
{/if}
<Button class="mt-10" {isLoading} onclick={authenticate}
>{error ? m.try_again() : m.authenticate()}</Button
>
<Button class="mt-10" {isLoading} onclick={authenticate} autofocus={true}>
{error ? m.try_again() : m.authenticate()}
</Button>
</SignInWrapper>