mirror of
https://github.com/immich-app/immich.git
synced 2024-12-25 10:43:13 +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">
|
||||||
<input type="password" class="immich-form-input mr-2" placeholder="Password" bind:value={password} />
|
<form novalidate autocomplete="off" on:submit|preventDefault={handlePasswordSubmit}>
|
||||||
<Button on:click={handlePasswordSubmit}>Submit</Button>
|
<input type="password" class="immich-form-input mr-2" placeholder="Password" bind:value={password} />
|
||||||
|
<Button type="submit">Submit</Button>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
Loading…
Reference in New Issue
Block a user