mirror of
https://github.com/immich-app/immich.git
synced 2024-12-26 10:50:29 +02:00
fix(web): use submit event instead of button click (#6112)
This commit is contained in:
parent
014adf175a
commit
a7d9e25fb0
@ -58,8 +58,10 @@
|
|||||||
Please enter the password to view this page.
|
Please enter the password to view this page.
|
||||||
</div>
|
</div>
|
||||||
<div class="mt-4">
|
<div class="mt-4">
|
||||||
|
<form novalidate autocomplete="off" on:submit|preventDefault={handlePasswordSubmit}>
|
||||||
<input type="password" class="immich-form-input mr-2" placeholder="Password" bind:value={password} />
|
<input type="password" class="immich-form-input mr-2" placeholder="Password" bind:value={password} />
|
||||||
<Button on:click={handlePasswordSubmit}>Submit</Button>
|
<Button type="submit">Submit</Button>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
Loading…
Reference in New Issue
Block a user