autofocus passphrase field in unlock view

This commit is contained in:
2022-12-19 20:45:26 -08:00
parent d77437cda8
commit 983d0e8639
2 changed files with 3 additions and 2 deletions

View File

@ -28,5 +28,5 @@
<form action="#" on:submit|preventDefault="{unlock}">
<div class="text-gray-200">Enter your passphrase:</div>
<input class="text-gray-200 bg-zinc-800" type="password" placeholder="correct horse battery staple" bind:value="{passphrase}" />
<input autofocus class="text-gray-200 bg-zinc-800" type="password" placeholder="correct horse battery staple" bind:value="{passphrase}" />
</form>